Files
rocm-systems/tests/src/specialFunc.cu
T
Ben Sander 3898f6af3c Remove warning on ballot/any/all and pop/clz.
Since these are supported in HIP no reason to emit warnings.
2016-02-02 10:02:48 -06:00

12 righe
273 B
Plaintext

//Test to ensure hipify runs correctly.
// Hipify may report warnings for some missing/unsupported functions
void __global__
test_kernel(float *A)
{
int tid = blockIdx.x * blockDim.x + threadIdx.x;
float a = __ballot(tid < 16);
float b = __shfl(tid < 16);
}