Files
composable_kernel/composable_kernel/include/utility/utility.hpp
Chao Liu 21f7e9f103 refactor
2019-06-19 17:43:56 -05:00

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