Home
last modified time | relevance | path

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

/external/OpenCL-CTS/test_conformance/SVM/
Dtest_fine_grain_memory_consistency.cpp52 … c, cl_uint* input, size_t inputSize, BinNode* pNodes, cl_int volatile *pNumNodes, cl_uint numBins) in build_hash_table_on_host() argument
56 BinNode *pNew = &pNodes[ AtomicFetchAddExplicit(pNumNodes, 1, memory_order_relaxed) ]; in build_hash_table_on_host()
73 …cl_int *pNumNodes = (cl_int*) clSVMAlloc(context, CL_MEM_READ_WRITE | CL_MEM_SVM_FINE_GRAIN… in launch_kernels_and_verify() local
75 *pNumNodes = numBins; // using the first numBins nodes to hold the list heads. in launch_kernels_and_verify()
84 err |= clSetKernelArgSVMPointer(kernel, 2, pNumNodes); in launch_kernels_and_verify()
99 while(numBins == AtomicLoadExplicit(pNumNodes, memory_order_relaxed)); in launch_kernels_and_verify()
101 build_hash_table_on_host(context, pInputImage, num_pixels, pNodes, pNumNodes, numBins); in launch_kernels_and_verify()
125 clSVMFree(context, pNumNodes); in launch_kernels_and_verify()