Commit e601565d authored by Jeff Daily's avatar Jeff Daily
Browse files

lint

parent 06741cca
...@@ -51,15 +51,15 @@ ...@@ -51,15 +51,15 @@
static inline constexpr int WARP_SIZE_INTERNAL() { static inline constexpr int WARP_SIZE_INTERNAL() {
#if defined(__GFX9__) #if defined(__GFX9__)
return 64; return 64;
#else // __GFX9__ #else // __GFX9__
return 32; return 32;
#endif // __GFX9__ #endif // __GFX9__
} }
#define WARPSIZE (WARP_SIZE_INTERNAL()) #define WARPSIZE (WARP_SIZE_INTERNAL())
#else // __HIP_PLATFORM_AMD__ #else // __HIP_PLATFORM_AMD__
// CUDA warpSize is not a constexpr, but always 32 // CUDA warpSize is not a constexpr, but always 32
#define WARPSIZE 32 #define WARPSIZE 32
#endif #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