Skip to content

Commit

Permalink
Fix minor compilations issues with rocm 6 and spack (#143)
Browse files Browse the repository at this point in the history
  • Loading branch information
mtaillefumier authored Oct 24, 2024
1 parent e64dae2 commit ac34bd2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/cosma/communicator.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#endif

#if defined(COSMA_WITH_NCCL) && defined(TILED_MM_ROCM)
#include <rccl.h>
#include <rccl/rccl.h>
#endif

namespace cosma {
Expand Down
2 changes: 1 addition & 1 deletion src/cosma/gpu/nccl_mapper.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#include <nccl.h>

#elif defined(TILED_MM_ROCM)
#include <rccl.h>
#include <rccl/rccl.h>

#else
#error Either TILED_MM_CUDA or TILED_MM_ROCM must be defined!
Expand Down
2 changes: 1 addition & 1 deletion src/cosma/gpu/nccl_utils.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#include <nccl.h>

#elif defined(TILED_MM_ROCM)
#include <rccl.h>
#include <rccl/rccl.h>

#else
#error Either TILED_MM_CUDA or TILED_MM_ROCM must be defined!
Expand Down

0 comments on commit ac34bd2

Please sign in to comment.