Searched refs:pNumCorrect (Results 1 – 3 of 3) sorted by relevance
/external/OpenCL-CTS/test_conformance/SVM/ |
D | test_pointer_passing.cpp | 55 cl_int *pNumCorrect = NULL; in test_svm_pointer_passing() local 56 pNumCorrect = (cl_int*) clSVMAlloc(context, CL_MEM_READ_WRITE, sizeof(cl_int), 0); in test_svm_pointer_passing() 62 …er num_correct = clCreateBuffer(context, CL_MEM_USE_HOST_PTR, sizeof(cl_int), pNumCorrect, &error); in test_svm_pointer_passing() 92 …pNumCorrect = (cl_int*) clEnqueueMapBuffer(cmdq, num_correct, CL_TRUE, CL_MAP_READ | CL_MAP_WRITE,… in test_svm_pointer_passing() 93 test_error2(error, pNumCorrect, "clEnqueueMapBuffer failed"); in test_svm_pointer_passing() 94 cl_int correct_count = *pNumCorrect; in test_svm_pointer_passing() 95 error = clEnqueueUnmapMemObject(cmdq, num_correct, pNumCorrect, 0,NULL,NULL); in test_svm_pointer_passing() 112 clSVMFree(context, pNumCorrect); in test_svm_pointer_passing()
|
D | test_shared_address_space_fine_grain_buffers.cpp | 35 cl_int verify_linked_lists_on_device_no_map(int vi, cl_command_queue cmdq,cl_int* pNumCorrect, cl_k… in verify_linked_lists_on_device_no_map() argument 41 *pNumCorrect = 0; // reset numCorrect to zero in verify_linked_lists_on_device_no_map() 48 cl_int correct_count = *pNumCorrect; in verify_linked_lists_on_device_no_map() 92 …cl_int *pNumCorrect = (cl_int*) clSVMAlloc(context, CL_MEM_READ_WRITE | CL_MEM_SVM_FINE_GRAIN_BUFF… in test_svm_shared_address_space_fine_grain_buffers() local 99 error |= clSetKernelArgSVMPointer(kernel_verify_lists, 1, pNumCorrect); in test_svm_shared_address_space_fine_grain_buffers() 127 …error = verify_linked_lists_on_device_no_map(vi, queues[vi], pNumCorrect, kernel_verify_lists, Lis… in test_svm_shared_address_space_fine_grain_buffers() 135 clSVMFree(context, pNumCorrect); in test_svm_shared_address_space_fine_grain_buffers()
|
D | test_shared_address_space_coarse_grain.cpp | 122 …cl_int *pNumCorrect = (cl_int*) clEnqueueMapBuffer(cmdq, num_correct, CL_TRUE, CL_MAP_READ | CL_MA… in verify_linked_lists_on_device() local 123 test_error2(error, pNumCorrect, "clEnqueueMapBuffer failed"); in verify_linked_lists_on_device() 125 *pNumCorrect = 0; // reset numCorrect to zero in verify_linked_lists_on_device() 127 error = clEnqueueUnmapMemObject(cmdq, num_correct, pNumCorrect, 0,NULL,NULL); in verify_linked_lists_on_device() 133 …pNumCorrect = (cl_int*) clEnqueueMapBuffer(cmdq, num_correct, CL_TRUE, CL_MAP_READ | CL_MAP_WRITE,… in verify_linked_lists_on_device() 134 test_error2(error, pNumCorrect, "clEnqueueMapBuffer failed"); in verify_linked_lists_on_device() 135 cl_int correct_count = *pNumCorrect; in verify_linked_lists_on_device() 136 error = clEnqueueUnmapMemObject(cmdq, num_correct, pNumCorrect, 0,NULL,NULL); in verify_linked_lists_on_device()
|