Skip to content

Commit ac34bd2

Browse files
Fix minor compilations issues with rocm 6 and spack (#143)
1 parent e64dae2 commit ac34bd2

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Diff for: src/cosma/communicator.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
#endif
1717

1818
#if defined(COSMA_WITH_NCCL) && defined(TILED_MM_ROCM)
19-
#include <rccl.h>
19+
#include <rccl/rccl.h>
2020
#endif
2121

2222
namespace cosma {

Diff for: src/cosma/gpu/nccl_mapper.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#include <nccl.h>
77

88
#elif defined(TILED_MM_ROCM)
9-
#include <rccl.h>
9+
#include <rccl/rccl.h>
1010

1111
#else
1212
#error Either TILED_MM_CUDA or TILED_MM_ROCM must be defined!

Diff for: src/cosma/gpu/nccl_utils.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#include <nccl.h>
1111

1212
#elif defined(TILED_MM_ROCM)
13-
#include <rccl.h>
13+
#include <rccl/rccl.h>
1414

1515
#else
1616
#error Either TILED_MM_CUDA or TILED_MM_ROCM must be defined!

0 commit comments

Comments
 (0)