This commit is contained in:
Chao Liu
2019-06-19 17:43:56 -05:00
parent 9de63930c0
commit 21f7e9f103
9 changed files with 142 additions and 130 deletions

View File

@@ -6,7 +6,7 @@
namespace ck {
// cast a pointer of LDS to its address
extern "C" __attribute__((address_space(3))) void* __to_local(void* p)[[hc]];
extern "C" __attribute__((address_space(3))) __device__ void* __to_local(void* p);
__device__ void vmcnt(index_t cnt)
{