Home
last modified time | relevance | path

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

/external/OpenCL-CTS/test_conformance/c11_atomics/
Dcommon.h929 HostAtomicType *svmAtomicBuffer = 0; in ExecuteSingleTest() local
1079 svmAtomicBuffer = (HostAtomicType*)malloc(typeSize * numDestItems); in ExecuteSingleTest()
1081svmAtomicBuffer = (HostAtomicType*)clSVMAlloc(context, CL_MEM_SVM_FINE_GRAIN_BUFFER | CL_MEM_SVM_A… in ExecuteSingleTest()
1082 if(!svmAtomicBuffer) in ExecuteSingleTest()
1087 memcpy(svmAtomicBuffer, &destItems[0], typeSize * numDestItems); in ExecuteSingleTest()
1089 typeSize * numDestItems, svmAtomicBuffer, NULL); in ExecuteSingleTest()
1163 hostThreadContexts[t].destMemory = UseSVM() ? svmAtomicBuffer : &destItems[0]; in ExecuteSingleTest()
1187 memcpy(&destItems[0], svmAtomicBuffer, typeSize*numDestItems); in ExecuteSingleTest()
1319 free(svmAtomicBuffer); in ExecuteSingleTest()
1321 clSVMFree(context, svmAtomicBuffer); in ExecuteSingleTest()