Home
last modified time | relevance | path

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

/external/OpenCL-CTS/test_conformance/c11_atomics/
Dcommon.h931 HostDataType *svmDataBuffer = 0; in ExecuteSingleTest() local
1105 svmDataBuffer = (HostDataType*)malloc(typeSize*threadCount*NumNonAtomicVariablesPerThread()); in ExecuteSingleTest()
1107svmDataBuffer = (HostDataType*)clSVMAlloc(context, CL_MEM_SVM_FINE_GRAIN_BUFFER | (SVMDataBufferAl… in ExecuteSingleTest()
1108 if(!svmDataBuffer) in ExecuteSingleTest()
1114 … memcpy(svmDataBuffer, &startRefValues[0], typeSize*threadCount*NumNonAtomicVariablesPerThread()); in ExecuteSingleTest()
1118 svmDataBuffer, NULL); in ExecuteSingleTest()
1164 hostThreadContexts[t].oldValues = UseSVM() ? svmDataBuffer : &refValues[0]; in ExecuteSingleTest()
1188 memcpy(&refValues[0], svmDataBuffer, typeSize*threadCount*NumNonAtomicVariablesPerThread()); in ExecuteSingleTest()
1326 free(svmDataBuffer); in ExecuteSingleTest()
1328 clSVMFree(context, svmDataBuffer); in ExecuteSingleTest()