Calling intrinsics from global kernel

[ROCm/hip commit: 61cd2bb399]
Tá an tiomantas seo le fáil i:
Aditya Atluri tiomanta 2016-03-29 11:17:55 -05:00
1 tuismitheoir d0b0cda704
tiomantas ffe185d731
7 comhad athraithe
+26 -44

Níor tháinig aon chomhaid le do chuardach

+9
Féach ar an gComhad
@@ -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);
}