Searched refs:res_mem (Results 1 – 2 of 2) sorted by relevance
/external/OpenCL-CTS/test_conformance/device_execution/ |
D | enqueue_profiling.cpp | 86 clMemWrapper res_mem; in test_enqueue_profiling() local 97 res_mem = clCreateBuffer(context, CL_MEM_READ_WRITE | CL_MEM_COPY_HOST_PTR, in test_enqueue_profiling() 101 err_ret = clSetKernelArg(kernel, 0, sizeof(res_mem), &res_mem); in test_enqueue_profiling() 114 err_ret = clEnqueueReadBuffer(host_queue, res_mem, CL_TRUE, 0, in test_enqueue_profiling()
|
D | host_queue_order.cpp | 130 clMemWrapper res_mem; in test_host_queue_order() local 146 …res_mem = clCreateBuffer(context, CL_MEM_READ_WRITE|CL_MEM_COPY_HOST_PTR, sizeof(kernel_results), … in test_host_queue_order() 152 err_ret = clSetKernelArg(kernel1, 1, sizeof(cl_mem), &res_mem); in test_host_queue_order() 164 err_ret = clSetKernelArg(kernel2, 1, sizeof(cl_mem), &res_mem); in test_host_queue_order() 175 … err_ret = clEnqueueReadBuffer(queue, res_mem, CL_TRUE, 0, sizeof(result), result, 0, NULL, NULL); in test_host_queue_order()
|