enable coll and comm

This commit is contained in:
Hui Liu
2023-10-30 15:15:05 -07:00
parent b6b5218245
commit 02f5464fa6
18 changed files with 76 additions and 5 deletions

View File

@@ -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

View File

@@ -0,0 +1,4 @@
#if defined(XGBOOST_USE_HIP)
#include "test_allgather.cu"
#endif

View File

@@ -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

View File

@@ -0,0 +1,4 @@
#if defined(XGBOOST_USE_HIP)
#include "test_allreduce.cu"
#endif