Closed ETsingos closed 1 year ago
The claim of CUDA 12 support in 3.5 comes from a patch submitted by NVIDIA tested with internal CUDA 12 release candidates #1403.
These compile errors come from the embedded HIP headers HOOMD uses to support both AMD and NVIDIA GPUs. HOOMD does not use hipBindTexture, so these methods can be removed from the headers.
I will be able to provide fully tested CUDA 12 support once NVIDIA provides a CUDA 12 docker container: https://hub.docker.com/r/nvidia/cuda
I am also having issues with this header. I will make a separate post though as they arise in a different place.
Just a note, downgrading to CUDA 11.5.2 fixed this for me, but also required me to use gcc-10 to avoid a bug in gcc-11 with CUDA 11.
I tested HOOMD v3.7.0 with gcc11 and CUDA 11.7. More recently, I added gcc11 and CUDA 11.8 to the test matrix. I also test CUDA 10, 11.1, 11.2, 11.3, 11.4, 11.5, and 11.6 with compiler versions as provided in the NVIDIA CUDA docker containers.
Fixed in #1453.
Description
Hoomd v3.7.0 fails to compile with CUDA 12.0. After downgrade to CUDA 11.7 it compiles fine.
System specs:
Output of nvcc -V
Script
Input files
No response
Output
Expected output
According to changelog, CUDA 12.0 compatibility has been fixed since version 3.5.0, so it should compile without errors.
Platform
Linux
Installation method
Compiled from source
HOOMD-blue version
3.7.0
Python version
3.8.10