Skip to content

Build error for AMD graphics cards (ROCm) #18

@serg-sg

Description

@serg-sg

Hi. I have an AMD RX 9060 XT graphics card. The build completes with an error. The full build log is attached. Briefly, here are the main errors:

DEBUG /comfyUI/ComfyUI-Easy-Install/CuMesh/src/clean_up.hip:234:27: error: no member named 'cuda' in the global namespace
DEBUG   234 |     __host__ __device__ ::cuda::std::tuple<int&, int&, int&> operator()(int3& key) const
DEBUG       |                         ~~^

and:

DEBUG /comfyUI/ComfyUI-Easy-Install/CuMesh/src/dtypes_hip.cuh:59:35: note: candidate constructor not viable: call to __device__ function from __host__ function
DEBUG    59 | __device__ __forceinline__ Vec3f::Vec3f() {
DEBUG       |                                   ^
DEBUG /comfyUI/ComfyUI-Easy-Install/CuMesh/src/dtypes_hip.cuh:71:35: note: candidate constructor not viable: requires single argument 'v', but no arguments were provided
DEBUG    71 | __device__ __forceinline__ Vec3f::Vec3f(float3 v) {
DEBUG       |                                   ^     ~~~~~~~~
DEBUG /comfyUI/ComfyUI-Easy-Install/CuMesh/src/dtypes_hip.cuh:14:22: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 0 were provided
DEBUG    14 | struct __align__(16) Vec3f {
DEBUG       |                      ^~~~~

Please help me assemble it for an AMD video card.

error-build-rocm.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions