"include/git@developer.sourcefind.cn:tianlh/lightgbm-dcu.git" did not exist on "ad7738ac513f96954eff646bc52e9db604da66ae"
Commit e601565d authored by Jeff Daily's avatar Jeff Daily
Browse files

lint

parent 06741cca
......@@ -51,15 +51,15 @@
static inline constexpr int WARP_SIZE_INTERNAL() {
#if defined(__GFX9__)
return 64;
#else // __GFX9__
#else // __GFX9__
return 32;
#endif // __GFX9__
#endif // __GFX9__
}
#define WARPSIZE (WARP_SIZE_INTERNAL())
#else // __HIP_PLATFORM_AMD__
#else // __HIP_PLATFORM_AMD__
// CUDA warpSize is not a constexpr, but always 32
#define WARPSIZE 32
#endif
#endif // USE_CUDA || USE_ROCM
#endif // USE_CUDA || USE_ROCM
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment