12 #if defined(__HIP_DEVICE_COMPILE__)
25 #if !(defined(__HIPCC_RTC__) || defined(CK_CODE_GEN_RTC))
28 auto status = hipGetDevice(&device);
29 if(status == hipSuccess)
31 status = hipDeviceGetAttribute(&result, hipDeviceAttributeWarpSize, device);
32 if(status == hipSuccess)
__device__ index_t get_warp_local_1d_id()
Definition: get_id.hpp:45
__device__ index_t get_grid_size()
Definition: get_id.hpp:49
__device__ index_t get_block_size()
Definition: get_id.hpp:51
__device__ index_t get_block_1d_id()
Definition: get_id.hpp:47
__device__ index_t get_thread_global_1d_id()
Definition: get_id.hpp:43
constexpr __device__ index_t get_warp_size()
Definition: get_id.hpp:10
int32_t index_t
Definition: ck.hpp:299
__device__ index_t get_thread_local_1d_id()
Definition: get_id.hpp:41