Searched refs:memObject (Results 1 – 2 of 2) sorted by relevance
/external/OpenCL-CTS/test_conformance/api/ |
D | test_mem_objects.cpp | 20 void CL_CALLBACK mem_destructor_callback(cl_mem memObject, void *userData) in mem_destructor_callback() argument 29 int test_mem_object_destructor_callback_single(clMemWrapper &memObject) in test_mem_object_destructor_callback_single() argument 38 error = clSetMemObjectDestructorCallback(memObject, mem_destructor_callback, in test_mem_object_destructor_callback_single() 42 error = clSetMemObjectDestructorCallback(memObject, mem_destructor_callback, in test_mem_object_destructor_callback_single() 46 error = clSetMemObjectDestructorCallback(memObject, mem_destructor_callback, in test_mem_object_destructor_callback_single() 51 error = clReleaseMemObject(memObject); in test_mem_object_destructor_callback_single() 56 memObject = NULL; in test_mem_object_destructor_callback_single()
|
/external/OpenCL-CTS/test_conformance/basic/ |
D | test_enqueue_map.cpp | 55 clMemWrapper memObject; in test_enqueue_map_buffer() local 65 memObject = clCreateBuffer(context, flags, bufferSize, hostPtr, &error); in test_enqueue_map_buffer() 71 clEnqueueWriteBuffer(queue, memObject, CL_TRUE, 0, bufferSize, in test_enqueue_map_buffer() 82 …cl_char *mappedRegion = (cl_char *)clEnqueueMapBuffer( queue, memObject, CL_TRUE, CL_MAP_READ | CL… in test_enqueue_map_buffer() 108 error = clEnqueueUnmapMemObject( queue, memObject, mappedRegion, 0, NULL, NULL ); in test_enqueue_map_buffer() 113 … error = clEnqueueReadBuffer( queue, memObject, CL_TRUE, 0, bufferSize, finalData, 0, NULL, NULL ); in test_enqueue_map_buffer() 146 clMemWrapper memObject; in test_enqueue_map_image() local 157 memObject = create_image_2d(context, CL_MEM_READ_WRITE | flags, &format, in test_enqueue_map_image() 164 clEnqueueWriteImage(queue, memObject, CL_TRUE, write_origin, write_region, in test_enqueue_map_image() 181 …cl_uint *mappedRegion = (cl_uint *)clEnqueueMapImage( queue, memObject, CL_TRUE, CL_MAP_READ | CL_… in test_enqueue_map_image() [all …]
|