Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions gloo/cuda.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
#include "gloo/config.h"

// Check that configuration header was properly generated
#if !GLOO_USE_CUDA
#error "Expected GLOO_USE_CUDA to be defined"
#if !GLOO_USE_CUDA && !GLOO_USE_ROCM
#error "Expected GLOO_USE_CUDA or GLOO_USE_ROCM to be set"
#endif

namespace gloo {
Expand Down
Loading