mirror of
https://github.com/ROCm/composable_kernel.git
synced 2026-05-14 02:02:46 +00:00
15 lines
241 B
C++
15 lines
241 B
C++
#ifndef CK_UTILITY_HPP
|
|
#define CK_UTILITY_HPP
|
|
|
|
#include "config.hpp"
|
|
|
|
namespace ck {
|
|
|
|
__device__ index_t get_thread_local_1d_id() { return threadIdx.x; }
|
|
|
|
__device__ index_t get_block_1d_id() { return blockIdx.x; }
|
|
|
|
} // namspace ck
|
|
|
|
#endif
|