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

[ROCm/hip commit: 2b02fe082f]
This commit is contained in:
streamhsa
2016-02-02 14:50:55 +05:30
parent 114874e5ee
commit 19d0b8095f
8 changed files with 54 additions and 66 deletions
-15
View File
@@ -79,21 +79,6 @@ HIP_kernel(hipLaunchParm lp,
#if 0
__kernel__ void HIP_kernel(unsigned int* a, unsigned int* b, unsigned long long 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] = __brev(b[i]);
c[i] = __brevll(d[i]);
}
}
#endif
using namespace std;
int main() {