Home
last modified time | relevance | path

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

/external/OpenCL-CTS/test_conformance/SVM/
Dtest_fine_grain_sync_buffers.cpp67 …cl_int *pTargetLocations = (cl_int* ) clSVMAlloc(context, CL_MEM_READ_WRITE | CL_MEM_SVM_FINE_GRA… in test_svm_fine_grain_sync_buffers() local
72 for(i=0; i < MAX_TARGETS; i++) pTargetLocations[i] = -1; in test_svm_fine_grain_sync_buffers()
81 err |= clSetKernelArgSVMPointer(kernel, 3, pTargetLocations); in test_svm_fine_grain_sync_buffers()
96 …if( AtomicLoadExplicit(&pTargetLocations[i], memory_order_relaxed) != -1) // -1 indicates slot no… in test_svm_fine_grain_sync_buffers()
98 spawnAnalysisTask(pTargetLocations[i]); in test_svm_fine_grain_sync_buffers()
101 …} while (status != CL_COMPLETE || AtomicLoadExplicit(&pTargetLocations[i], memory_order_relaxed) !… in test_svm_fine_grain_sync_buffers()
106 clSVMFree(context, pTargetLocations); in test_svm_fine_grain_sync_buffers()