Searched refs:host_atomic_compare_exchange (Results 1 – 2 of 2) sorted by relevance
/external/OpenCL-CTS/test_conformance/c11_atomics/ |
D | host_atomics.h | 137 bool host_atomic_compare_exchange(volatile AtomicType *a, CorrespondingType *expected, Correspondin… in host_atomic_compare_exchange() function 195 while(!host_atomic_compare_exchange(a, &expected, desired, order, order)); in host_atomic_fetch_or() 207 while(!host_atomic_compare_exchange(a, &expected, desired, order, order)); in host_atomic_fetch_and() 219 while(!host_atomic_compare_exchange(a, &expected, desired, order, order)); in host_atomic_fetch_xor() 231 while(!host_atomic_compare_exchange(a, &expected, desired, order, order)); in host_atomic_fetch_min() 243 while(!host_atomic_compare_exchange(a, &expected, desired, order, order)); in host_atomic_fetch_max()
|
D | test_atomics.cpp | 525 …if(host_atomic_compare_exchange(&destMemory[0], &expected, oldValues[tid], MemoryOrder(), MemoryOr… in HostFunction()
|