Searched refs:svmDataBuffer (Results 1 – 1 of 1) sorted by relevance
931 HostDataType *svmDataBuffer = 0; in ExecuteSingleTest() local1105 svmDataBuffer = (HostDataType*)malloc(typeSize*threadCount*NumNonAtomicVariablesPerThread()); in ExecuteSingleTest()1107 …svmDataBuffer = (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()