Added test for ballot and removing HIP_FUNCTION from hipSampleAtomicsTest.cpp -sandeep

[ROCm/hip commit: 2b02fe082f]
Этот коммит содержится в:
streamhsa
2016-02-02 14:50:55 +05:30
родитель 114874e5ee
Коммит 19d0b8095f
8 изменённых файлов: 54 добавлений и 66 удалений
-13
Просмотреть файл
@@ -71,20 +71,7 @@ HIP_kernel(hipLaunchParm lp,
#if 0
__kernel__ void HIP_kernel(unsigned int* a, unsigned int* b, unsigned int* c, unsigned long long int* d, int width, int height) {
int x = blockDimX * blockIdx.x + threadIdx.x;
int y = blockDimY * blockIdy.y + threadIdx.y;
int i = y * width + x;
if ( i < (width * height)) {
a[i] = __popc(b[i]);
c[i] = __popcll(d[i]);
}
}
#endif
using namespace std;