enable coll and comm
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
/**
|
||||
* Copyright 2023, XGBoost Contributors
|
||||
*/
|
||||
#if defined(XGBOOST_USE_NCCL)
|
||||
#if defined(XGBOOST_USE_NCCL) || defined(XGBOOST_USE_RCCL)
|
||||
#include <gtest/gtest.h>
|
||||
#include <thrust/device_vector.h> // for device_vector
|
||||
#include <thrust/equal.h> // for equal
|
||||
|
||||
4
tests/cpp/collective/test_allgather.hip
Normal file
4
tests/cpp/collective/test_allgather.hip
Normal file
@@ -0,0 +1,4 @@
|
||||
|
||||
#if defined(XGBOOST_USE_HIP)
|
||||
#include "test_allgather.cu"
|
||||
#endif
|
||||
@@ -1,7 +1,7 @@
|
||||
/**
|
||||
* Copyright 2023, XGBoost Contributors
|
||||
*/
|
||||
#if defined(XGBOOST_USE_NCCL)
|
||||
#if defined(XGBOOST_USE_NCCL) || defined(XGBOOST_USE_RCCL)
|
||||
#include <gtest/gtest.h>
|
||||
#include <thrust/host_vector.h> // for host_vector
|
||||
|
||||
|
||||
4
tests/cpp/collective/test_allreduce.hip
Normal file
4
tests/cpp/collective/test_allreduce.hip
Normal file
@@ -0,0 +1,4 @@
|
||||
|
||||
#if defined(XGBOOST_USE_HIP)
|
||||
#include "test_allreduce.cu"
|
||||
#endif
|
||||
Reference in New Issue
Block a user