Searched refs:pInputImage (Results 1 – 2 of 2) sorted by relevance
/external/OpenCL-CTS/test_conformance/SVM/ |
D | test_fine_grain_sync_buffers.cpp | 65 …cl_uint *pInputImage = (cl_uint*) clSVMAlloc(context, CL_MEM_READ_ONLY | CL_MEM_SVM_FINE_GRA… in test_svm_fine_grain_sync_buffers() local 73 for(i=0; i < num_pixels; i++) pInputImage[i] = 0; in test_svm_fine_grain_sync_buffers() 74 pInputImage[0] = targetDescriptor; in test_svm_fine_grain_sync_buffers() 75 pInputImage[3] = targetDescriptor; in test_svm_fine_grain_sync_buffers() 76 pInputImage[num_pixels - 1] = targetDescriptor; in test_svm_fine_grain_sync_buffers() 78 err |= clSetKernelArgSVMPointer(kernel, 0, pInputImage); in test_svm_fine_grain_sync_buffers() 104 clSVMFree(context, pInputImage); in test_svm_fine_grain_sync_buffers()
|
D | test_fine_grain_memory_consistency.cpp | 71 …cl_uint *pInputImage = (cl_uint*) clSVMAlloc(context, CL_MEM_READ_ONLY | CL_MEM_SVM_FINE_GRAIN_BU… in launch_kernels_and_verify() local 80 for(cl_uint i=0; i < num_pixels; i++) pInputImage[i] = i; in launch_kernels_and_verify() 82 err |= clSetKernelArgSVMPointer(kernel, 0, pInputImage); in launch_kernels_and_verify() 101 build_hash_table_on_host(context, pInputImage, num_pixels, pNodes, pNumNodes, numBins); in launch_kernels_and_verify() 123 clSVMFree(context, pInputImage); in launch_kernels_and_verify()
|