Home
last modified time | relevance | path

Searched refs:host_atomic_load (Results 1 – 3 of 3) sorted by relevance

/external/OpenCL-CTS/test_conformance/c11_atomics/
Dhost_atomics.cpp45 HOST_FLOAT host_atomic_load(volatile HOST_ATOMIC_FLOAT* a, TExplicitMemoryOrderType order) in host_atomic_load() function
47 …HOST_UINT tmp = host_atomic_load<HOST_ATOMIC_UINT, HOST_UINT>((volatile HOST_ATOMIC_UINT*)a, order… in host_atomic_load()
51 HOST_DOUBLE host_atomic_load(volatile HOST_ATOMIC_DOUBLE* a, TExplicitMemoryOrderType order) in host_atomic_load() function
53 …HOST_ULONG tmp = host_atomic_load<HOST_ATOMIC_ULONG, HOST_ULONG>((volatile HOST_ATOMIC_ULONG*)a, o… in host_atomic_load()
Dhost_atomics.h157 CorrespondingType host_atomic_load(volatile AtomicType *a, in host_atomic_load() function
169 template <> HOST_FLOAT host_atomic_load(volatile HOST_ATOMIC_FLOAT *a,
171 template <> HOST_DOUBLE host_atomic_load(volatile HOST_ATOMIC_DOUBLE *a,
191 CorrespondingType expected = host_atomic_load<AtomicType, CorrespondingType>(a, order); in host_atomic_fetch_or()
203 CorrespondingType expected = host_atomic_load<AtomicType, CorrespondingType>(a, order); in host_atomic_fetch_and()
215 CorrespondingType expected = host_atomic_load<AtomicType, CorrespondingType>(a, order); in host_atomic_fetch_xor()
227 CorrespondingType expected = host_atomic_load<AtomicType, CorrespondingType>(a, order); in host_atomic_fetch_min()
239 CorrespondingType expected = host_atomic_load<AtomicType, CorrespondingType>(a, order); in host_atomic_fetch_max()
Dtest_atomics.cpp249 … oldValues[tid] = host_atomic_load<HostAtomicType, HostDataType>(&destMemory[tid], MemoryOrder()); in HostFunction()
2037 …while (host_atomic_load<HostAtomicType, HostDataType>(&destMemory[hisId], MEMORY_ORDER_SEQ_CST) ==… in HostFunction()
2042 …hisValue = host_atomic_load<HostAtomicType, HostDataType>(&destMemory[hisId], MEMORY_ORDER_RELAXED… in HostFunction()
2061 …hisAtomicValue = host_atomic_load<HostAtomicType, HostDataType>(&destMemory[hisId], MEMORY_ORDER_R… in HostFunction()
2065 …hisAtomicValue = host_atomic_load<HostAtomicType, HostDataType>(&destMemory[hisId], _subCase.op2Me… in HostFunction()