Skip to content

Support CUDA 13.1 #2244

@cslominski

Description

@cslominski

Description

Hi,

I am receiving errors when compiling HOOMD-blue 6.1.1 with CUDA 13.1 on Ubuntu 24.04. I would greatly appreciate it if you could help resolve this for me.

Thanks,
Charlie

Motivation and context

FAILED: hoomd/CMakeFiles/_hoomd.dir/HOOMDVersion.cc.o
In file included from hoomd-blue/hoomd/extern/HIP/include/hip/hip_runtime_api.h:344,
from hoomd-blue/hoomd/extern/HIP/include/hip/nvcc_detail/hip_runtime.h:28,
from hoomd-blue/hoomd/extern/HIP/include/hip/hip_runtime.h:58,
from hoomd-blue/hoomd/HOOMDVersion.cc:10:
hoomd-blue/hoomd/extern/HIP/include/hip/nvcc_detail/hip_runtime_api.h: In function ‘hipError_t hipChooseDevice(int*, const hipDeviceProp_t*)’:
hoomd-blue/hoomd/extern/HIP/include/hip/nvcc_detail/hip_runtime_api.h:556:12: error: ‘struct cudaDeviceProp’ has no member named ‘clockRate’
556 | cdprop.clockRate = prop->clockRate;
| ^~~~~~~~~
hoomd-blue/hoomd/extern/HIP/include/hip/nvcc_detail/hip_runtime_api.h:561:12: error: ‘struct cudaDeviceProp’ has no member named ‘computeMode’
561 | cdprop.computeMode = prop->computeMode;
| ^~~~~~~~~~~
hoomd-blue/hoomd/extern/HIP/include/hip/nvcc_detail/hip_runtime_api.h:563:12: error: ‘struct cudaDeviceProp’ has no member named ‘memoryClockRate’
563 | cdprop.memoryClockRate = prop->memoryClockRate;
| ^~~~~~~~~~~~~~~

Metadata

Metadata

Assignees

No one assigned

    Labels

    taskSomething needs to be done.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions