Fix topo_explorer compatibility and capture WarpSize (#1743)

This commit is contained in:
Mustafa Abduljabbar
2025-06-16 15:18:35 +03:00
committed by GitHub
parent ba97c9c18b
commit fb4ad82d0d
2 changed files with 12 additions and 4 deletions
+10 -4
View File
@@ -2,8 +2,14 @@
#ifndef DEVICE_TABLE_COMPATIBILITY
#define DEVICE_TABLE_COMPATIBILITY
__forceinline__ __device__ void NCCL_CALL_FUNCTIONS(unsigned short funcIndex) noexcept {}
__forceinline__ __device__ void NCCL_CALL_FUNCTIONS_1(unsigned short funcIndex) noexcept {}
__forceinline__ __device__ void NCCL_CALL_FUNCTIONS_2(unsigned short funcIndex) noexcept {}
__forceinline__ __device__ void NCCL_CALL_FUNCTIONS_4(unsigned short funcIndex) noexcept {}
struct rcclKernelItem {
void* funcPtr;
int unroll;
};
static struct rcclKernelItem rcclKernelTable[] = { };
template <int unroll>
__forceinline__ __device__ void NCCL_CALL_FUNCTIONS(unsigned short funcIndex) noexcept { }
#endif