This commit is contained in:
Chao Liu
2019-04-02 20:30:00 -05:00
parent e6c86f81b5
commit e2313c9eca
3 changed files with 11 additions and 9 deletions

View File

@@ -62,10 +62,9 @@ __host__ __device__ constexpr T min(T x, Ts... xs)
return x < y ? x : y;
}
}// namespace mod_conv
} // 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