Removing unnecessary device collective source files.

[ROCm/rccl commit: 3a61907182]
This commit is contained in:
Stanley Tsang
2019-08-12 18:23:23 +00:00
parent 8645391260
commit de09bece99
20 changed files with 9 additions and 145 deletions
@@ -1,8 +0,0 @@
/*************************************************************************
* Copyright (c) 2019 Advanced Micro Devices, Inc. All rights reserved.
*
* See LICENSE.txt for license information
************************************************************************/
#define NCCL_OP 0
#include "device/all_gather.cu"
@@ -1,5 +1,6 @@
/*************************************************************************
* Copyright (c) 2015-2018, NVIDIA CORPORATION. All rights reserved.
* Modifications Copyright (c) 2019 Advanced Micro Devices, Inc. All rights reserved.
*
* See LICENSE.txt for license information
************************************************************************/
@@ -10,6 +11,4 @@
#define UNROLL 4
#if NCCL_OP == 0
IMPL_COLL3(ncclAllGather, copy, FuncSum, i8, int8_t, ncclCollAllGather, ncclSum, ncclInt8);
#endif
@@ -1,8 +0,0 @@
/*************************************************************************
* Copyright (c) 2019 Advanced Micro Devices, Inc. All rights reserved.
*
* See LICENSE.txt for license information
************************************************************************/
#define NCCL_OP 0
#include "device/all_reduce.cu"
@@ -1,8 +0,0 @@
/*************************************************************************
* Copyright (c) 2019 Advanced Micro Devices, Inc. All rights reserved.
*
* See LICENSE.txt for license information
************************************************************************/
#define NCCL_OP 1
#include "device/all_reduce.cu"
@@ -1,8 +0,0 @@
/*************************************************************************
* Copyright (c) 2019 Advanced Micro Devices, Inc. All rights reserved.
*
* See LICENSE.txt for license information
************************************************************************/
#define NCCL_OP 2
#include "device/all_reduce.cu"
@@ -1,8 +0,0 @@
/*************************************************************************
* Copyright (c) 2019 Advanced Micro Devices, Inc. All rights reserved.
*
* See LICENSE.txt for license information
************************************************************************/
#define NCCL_OP 3
#include "device/all_reduce.cu"
@@ -1,5 +1,6 @@
/*************************************************************************
* Copyright (c) 2015-2018, NVIDIA CORPORATION. All rights reserved.
* Modifications Copyright (c) 2019 Advanced Micro Devices, Inc. All rights reserved.
*
* See LICENSE.txt for license information
************************************************************************/
@@ -10,12 +11,7 @@
#define UNROLL 4
#if NCCL_OP == 0
IMPL_COLL2(ncclAllReduce, sum, FuncSum, ncclCollAllReduce, ncclSum);
#elif NCCL_OP == 1
IMPL_COLL2(ncclAllReduce, prod, FuncProd, ncclCollAllReduce, ncclProd);
#elif NCCL_OP == 2
IMPL_COLL2(ncclAllReduce, min, FuncMin, ncclCollAllReduce, ncclMin);
#elif NCCL_OP == 3
IMPL_COLL2(ncclAllReduce, max, FuncMax, ncclCollAllReduce, ncclMax);
#endif
@@ -1,8 +0,0 @@
/*************************************************************************
* Copyright (c) 2019 Advanced Micro Devices, Inc. All rights reserved.
*
* See LICENSE.txt for license information
************************************************************************/
#define NCCL_OP 0
#include "device/broadcast.cu"
@@ -1,5 +1,6 @@
/*************************************************************************
* Copyright (c) 2015-2018, NVIDIA CORPORATION. All rights reserved.
* Modifications Copyright (c) 2019 Advanced Micro Devices, Inc. All rights reserved.
*
* See LICENSE.txt for license information
************************************************************************/
@@ -10,6 +11,4 @@
#define UNROLL 4
#if NCCL_OP == 0
IMPL_COLL3(ncclBroadcast, copy, FuncSum, i8, int8_t, ncclCollBroadcast, ncclSum, ncclInt8);
#endif
@@ -1,8 +0,0 @@
/*************************************************************************
* Copyright (c) 2019 Advanced Micro Devices, Inc. All rights reserved.
*
* See LICENSE.txt for license information
************************************************************************/
#define NCCL_OP 0
#include "device/reduce.cu"
@@ -1,8 +0,0 @@
/*************************************************************************
* Copyright (c) 2019 Advanced Micro Devices, Inc. All rights reserved.
*
* See LICENSE.txt for license information
************************************************************************/
#define NCCL_OP 1
#include "device/reduce.cu"
@@ -1,8 +0,0 @@
/*************************************************************************
* Copyright (c) 2019 Advanced Micro Devices, Inc. All rights reserved.
*
* See LICENSE.txt for license information
************************************************************************/
#define NCCL_OP 2
#include "device/reduce.cu"
@@ -1,8 +0,0 @@
/*************************************************************************
* Copyright (c) 2019 Advanced Micro Devices, Inc. All rights reserved.
*
* See LICENSE.txt for license information
************************************************************************/
#define NCCL_OP 3
#include "device/reduce.cu"
@@ -1,5 +1,6 @@
/*************************************************************************
* Copyright (c) 2015-2018, NVIDIA CORPORATION. All rights reserved.
* Modifications Copyright (c) 2019 Advanced Micro Devices, Inc. All rights reserved.
*
* See LICENSE.txt for license information
************************************************************************/
@@ -10,12 +11,7 @@
#define UNROLL 4
#if NCCL_OP == 0
IMPL_COLL2(ncclReduce, sum, FuncSum, ncclCollReduce, ncclSum);
#elif NCCL_OP == 1
IMPL_COLL2(ncclReduce, prod, FuncProd, ncclCollReduce, ncclProd);
#elif NCCL_OP == 2
IMPL_COLL2(ncclReduce, min, FuncMin, ncclCollReduce, ncclMin);
#elif NCCL_OP == 3
IMPL_COLL2(ncclReduce, max, FuncMax, ncclCollReduce, ncclMax);
#endif
@@ -1,8 +0,0 @@
/*************************************************************************
* Copyright (c) 2019 Advanced Micro Devices, Inc. All rights reserved.
*
* See LICENSE.txt for license information
************************************************************************/
#define NCCL_OP 0
#include "device/reduce_scatter.cu"
@@ -1,8 +0,0 @@
/*************************************************************************
* Copyright (c) 2019 Advanced Micro Devices, Inc. All rights reserved.
*
* See LICENSE.txt for license information
************************************************************************/
#define NCCL_OP 1
#include "device/reduce_scatter.cu"
@@ -1,8 +0,0 @@
/*************************************************************************
* Copyright (c) 2019 Advanced Micro Devices, Inc. All rights reserved.
*
* See LICENSE.txt for license information
************************************************************************/
#define NCCL_OP 2
#include "device/reduce_scatter.cu"
@@ -1,8 +0,0 @@
/*************************************************************************
* Copyright (c) 2019 Advanced Micro Devices, Inc. All rights reserved.
*
* See LICENSE.txt for license information
************************************************************************/
#define NCCL_OP 3
#include "device/reduce_scatter.cu"
@@ -11,12 +11,7 @@
#define UNROLL 4
#if NCCL_OP == 0
IMPL_COLL2(ncclReduceScatter, sum, FuncSum, ncclCollReduceScatter, ncclSum);
#elif NCCL_OP == 1
IMPL_COLL2(ncclReduceScatter, prod, FuncProd, ncclCollReduceScatter, ncclProd);
#elif NCCL_OP == 2
IMPL_COLL2(ncclReduceScatter, min, FuncMin, ncclCollReduceScatter, ncclMin);
#elif NCCL_OP == 3
IMPL_COLL2(ncclReduceScatter, max, FuncMax, ncclCollReduceScatter, ncclMax);
#endif