Calling intrinsics from global kernel

[ROCm/hip commit: 61cd2bb399]
This commit is contained in:
Aditya Atluri committed 2016-03-29 11:17:55 -05:00
1 parent d0b0cda704
commit ffe185d731
7 files changed
+26 -44

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
#include"hip_runtime.h"
#include<hc.hpp>
#include<grid_launch.h>
__device__ unsigned int test__popc(unsigned int input)
{
return hc::__popcount_u32_b32(input);
}