[ROCm/composable_kernel commit: 5245a0162b]
This commit is contained in:
Chao Liu
2019-04-06 16:27:07 -05:00
parent 2cd5fbe227
commit 20df62cc31
7 changed files with 69 additions and 68 deletions

View File

@@ -5,8 +5,8 @@
#include "Array.hip.hpp"
#include "functional.hip.hpp"
#if DEVICE_BACKEDN_HIP
#include "inline_asm.hpp"
#if DEVICE_BACKEND_HIP
#include "amd_inline_asm.hip.hpp"
#endif
__device__ index_t get_thread_local_1d_id() { return threadIdx.x; }
@@ -67,8 +67,3 @@ __host__ __device__ constexpr T min(T x, Ts... xs)
return x < y ? x : y;
}
} // namespace mod_conv
#if DEVICE_BACKEND_HIP
// cast a pointer of LDS to its address
extern "C" __attribute__((address_space(3))) void* __to_local(void* p)[[hc]];
#endif