10 #if defined(CK_ENABLE_DYNAMIC_WARP_SIZE)
13 #if defined(__HIP_DEVICE_COMPILE__)
26 #if !(defined(__HIPCC_RTC__) || defined(CK_CODE_GEN_RTC))
29 auto status = hipGetDevice(&device);
30 if(status == hipSuccess)
32 status = hipDeviceGetAttribute(&result, hipDeviceAttributeWarpSize, device);
33 if(status == hipSuccess)
44 #if defined(__GFX9__) || !defined(__HIP_DEVICE_COMPILE__)
__device__ index_t get_warp_local_1d_id()
Definition: get_id.hpp:56
__device__ index_t get_grid_size()
Definition: get_id.hpp:60
__host__ constexpr __device__ index_t get_warp_size()
Definition: get_id.hpp:42
__device__ index_t get_block_size()
Definition: get_id.hpp:62
__device__ index_t get_block_1d_id()
Definition: get_id.hpp:58
__device__ index_t get_thread_global_1d_id()
Definition: get_id.hpp:54
int32_t index_t
Definition: ck.hpp:298
__device__ index_t get_thread_local_1d_id()
Definition: get_id.hpp:52