You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, this header file is included inside some MIOpen kernel calls, but the path to this header is not included as a command line include.
In the past, this worked without issues because hipRTC/Comgr automatically added -I /opt/rocm/include to kernel compilations. However, this behavior is being removed, as hipRTC has no guarantees about a system ROCm installation during kernel compilation/execution.
This leads to issues like the following:
In file included from /tmp/comgr-92ff79/input/MIOpenSoftmaxAttn.cpp:38:
/tmp/comgr-92ff79/include/miopen_rocrand.hpp:45:10: fatal error: 'rocrand/rocrand_xorwow.h' file not found
45 | #include <rocrand/rocrand_xorwow.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated when compiling for gfx1030.
To fix this, MIOpen should include the path to the directory containing rocrand/rocrand_xorwow.h when compiling.
The text was updated successfully, but these errors were encountered:
MIOpen/src/kernels/miopen_rocrand.hpp
Line 45 in 31ba13d
Currently, this header file is included inside some MIOpen kernel calls, but the path to this header is not included as a command line include.
In the past, this worked without issues because hipRTC/Comgr automatically added -I /opt/rocm/include to kernel compilations. However, this behavior is being removed, as hipRTC has no guarantees about a system ROCm installation during kernel compilation/execution.
This leads to issues like the following:
To fix this, MIOpen should include the path to the directory containing rocrand/rocrand_xorwow.h when compiling.
The text was updated successfully, but these errors were encountered: