Calling intrinsics from global kernel

[ROCm/hip commit: 61cd2bb399]
This commit is contained in:
Aditya Atluri
2016-03-29 11:17:55 -05:00
parent d0b0cda704
commit ffe185d731
7 changed files with 26 additions and 44 deletions
+12
View File
@@ -0,0 +1,12 @@
#include"test_common.h"
#include"hip_runtime.h"
__device__ void test(){
test__popc(1);
}
__global__ void Test(hipLaunchParm lp, int a){
test();
}
int main(){}