fix cupy_nccl.h
#define UNUSED(x) ((void)x)
-#ifndef CUPY_NO_CUDA
+#if !defined(CUPY_NO_CUDA) && !defined(CUPY_USE_HIP)
#include <nccl.h>
#endif
#endif
+#elif defined(CUPY_USE_HIP)
+
+#include <rccl.h>
+typedef hipStream_t cudaStream_t;
+
#else // #ifndef CUPY_NO_CUDA
#define NCCL_MAJOR 0
