Searched refs:whichResult (Results 1 – 2 of 2) sorted by relevance
/external/OpenCL-CTS/test_conformance/atomics/ |
D | test_atomics.cpp | 983 cl_int test_atomic_and_result_int( size_t size, cl_int *startRefValues, size_t whichResult ) in test_atomic_and_result_int() argument 986 if( whichResult < numThreads - 1 ) in test_atomic_and_result_int() 990 size_t numBits = (size_t)size - whichResult * 32; in test_atomic_and_result_int() 998 cl_long test_atomic_and_result_long( size_t size, cl_long *startRefValues, size_t whichResult ) in test_atomic_and_result_long() argument 1001 if( whichResult < numThreads - 1 ) in test_atomic_and_result_long() 1005 size_t numBits = (size_t)size - whichResult * 64; in test_atomic_and_result_long() 1043 cl_int test_atomic_or_result_int( size_t size, cl_int *startRefValues, size_t whichResult ) in test_atomic_or_result_int() argument 1046 if( whichResult < numThreads - 1 ) in test_atomic_or_result_int() 1050 size_t numBits = (size_t)size - whichResult * 32; in test_atomic_or_result_int() 1058 cl_long test_atomic_or_result_long( size_t size, cl_long *startRefValues, size_t whichResult ) in test_atomic_or_result_long() argument [all …]
|
/external/OpenCL-CTS/test_conformance/c11_atomics/ |
D | test_atomics.cpp | 907 size_t whichResult = tid / numBits; in HostFunction() local 908 size_t bitIndex = tid - (whichResult * numBits); in HostFunction() 910 …oldValues[tid] = host_atomic_fetch_or(&destMemory[whichResult], ((HostDataType)1 << bitIndex), Mem… in HostFunction() 1095 size_t whichResult = tid / numBits; in HostFunction() local 1096 size_t bitIndex = tid - (whichResult * numBits); in HostFunction() 1098 …oldValues[tid] = host_atomic_fetch_and(&destMemory[whichResult], ~((HostDataType)1 << bitIndex), M… in HostFunction()
|