Home
last modified time | relevance | path

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

/external/OpenCL-CTS/test_conformance/images/kernel_read_write/
Dmain.cpp49 cl_mem_flags gMemFlagsToUse = CL_MEM_USE_HOST_PTR; variable
137 cl_mem_flags saved_gMemFlagsToUse = gMemFlagsToUse; in doTest()
141 gMemFlagsToUse = CL_MEM_COPY_HOST_PTR; in doTest()
146 gMemFlagsToUse = saved_gMemFlagsToUse; in doTest()
164 cl_mem_flags saved_gMemFlagsToUse = gMemFlagsToUse; in doTest()
168 gMemFlagsToUse = CL_MEM_COPY_HOST_PTR; in doTest()
174 gMemFlagsToUse = saved_gMemFlagsToUse; in doTest()
200 cl_mem_flags saved_gMemFlagsToUse = gMemFlagsToUse; in doTest()
204 gMemFlagsToUse = CL_MEM_COPY_HOST_PTR; in doTest()
209 gMemFlagsToUse = saved_gMemFlagsToUse; in doTest()
[all …]
Dtest_write_1D.cpp24 extern cl_mem_flags gMemFlagsToUse;
194 if( gMemFlagsToUse == CL_MEM_USE_HOST_PTR ) in test_write_image_1D()
232 …otImage = clCreateImage( context, mem_flag_types[mem_flag_index] | ( gMemFlagsToUse & ~(CL_MEM_COP… in test_write_image_1D()
243 …Image = create_image_1d( context, mem_flag_types[mem_flag_index] | ( gMemFlagsToUse & ~(CL_MEM_COP… in test_write_image_1D()
Dtest_write_1D_array.cpp24 extern cl_mem_flags gMemFlagsToUse;
204 if( gMemFlagsToUse == CL_MEM_USE_HOST_PTR ) in test_write_image_1D_array()
242 …otImage = clCreateImage( context, mem_flag_types[mem_flag_index] | ( gMemFlagsToUse & ~(CL_MEM_COP… in test_write_image_1D_array()
253 …= create_image_1d_array( context, mem_flag_types[mem_flag_index] | ( gMemFlagsToUse & ~(CL_MEM_COP… in test_write_image_1D_array()
Dtest_write_2D_array.cpp24 extern cl_mem_flags gMemFlagsToUse;
233 if( gMemFlagsToUse == CL_MEM_USE_HOST_PTR ) in test_write_image_2D_array()
263 …otImage = clCreateImage( context, mem_flag_types[mem_flag_index] | ( gMemFlagsToUse & ~(CL_MEM_COP… in test_write_image_2D_array()
274 …= create_image_2d_array( context, mem_flag_types[mem_flag_index] | ( gMemFlagsToUse & ~(CL_MEM_COP… in test_write_image_2D_array()
Dtest_write_3D.cpp24 extern cl_mem_flags gMemFlagsToUse;
237 if( gMemFlagsToUse == CL_MEM_USE_HOST_PTR ) in test_write_image_3D()
267 …otImage = clCreateImage( context, mem_flag_types[mem_flag_index] | ( gMemFlagsToUse & ~(CL_MEM_COP… in test_write_image_3D()
278 …Image = create_image_3d( context, mem_flag_types[mem_flag_index] | ( gMemFlagsToUse & ~(CL_MEM_COP… in test_write_image_3D()
Dtest_write_image.cpp24 extern cl_mem_flags gMemFlagsToUse;
211 if( gMemFlagsToUse == CL_MEM_USE_HOST_PTR ) in test_write_image()
267 …otImage = clCreateImage( context, mem_flag_types[mem_flag_index] | ( gMemFlagsToUse & ~(CL_MEM_COP… in test_write_image()
292 …Image = create_image_2d( context, mem_flag_types[mem_flag_index] | ( gMemFlagsToUse & ~(CL_MEM_COP… in test_write_image()
Dtest_read_1D.cpp34 extern cl_mem_flags gMemFlagsToUse;
276 if( gMemFlagsToUse == CL_MEM_USE_HOST_PTR ) in test_read_image_1D()
303 else if( gMemFlagsToUse == CL_MEM_COPY_HOST_PTR ) in test_read_image_1D()
341 image_read_write_flags | gMemFlagsToUse, in test_read_image_1D()
354 if( gMemFlagsToUse != CL_MEM_COPY_HOST_PTR ) in test_read_image_1D()
Dtest_read_1D_array.cpp33 extern cl_mem_flags gMemFlagsToUse;
331 if( gMemFlagsToUse == CL_MEM_USE_HOST_PTR ) in test_read_image_1D_array()
364 else if( gMemFlagsToUse == CL_MEM_COPY_HOST_PTR ) in test_read_image_1D_array()
408 image_read_write_flags | gMemFlagsToUse, in test_read_image_1D_array()
426 if( gMemFlagsToUse != CL_MEM_COPY_HOST_PTR ) in test_read_image_1D_array()
Dtest_iterations.cpp33 extern cl_mem_flags gMemFlagsToUse;
1252 if( gMemFlagsToUse == CL_MEM_USE_HOST_PTR ) in test_read_image_2D()
1306 else if( gMemFlagsToUse == CL_MEM_COPY_HOST_PTR ) in test_read_image_2D()
1357 imageBuffer = clCreateBuffer( context, CL_MEM_READ_WRITE | gMemFlagsToUse, in test_read_image_2D()
1372 image_read_write_flags | gMemFlagsToUse, in test_read_image_2D()
1393 if( gMemFlagsToUse != CL_MEM_COPY_HOST_PTR ) in test_read_image_2D()
Dtest_read_3D.cpp26 extern cl_mem_flags gMemFlagsToUse;
356 if( gMemFlagsToUse == CL_MEM_USE_HOST_PTR ) in test_read_image_3D()
385 else if( gMemFlagsToUse == CL_MEM_COPY_HOST_PTR ) in test_read_image_3D()
411 image_read_write_flags | gMemFlagsToUse, in test_read_image_3D()
446 if( gMemFlagsToUse != CL_MEM_COPY_HOST_PTR ) in test_read_image_3D()
Dtest_read_2D_array.cpp26 extern cl_mem_flags gMemFlagsToUse;
350 if( gMemFlagsToUse == CL_MEM_USE_HOST_PTR ) in test_read_image_2D_array()
379 else if( gMemFlagsToUse == CL_MEM_COPY_HOST_PTR ) in test_read_image_2D_array()
425 image_read_write_flags | gMemFlagsToUse, in test_read_image_2D_array()
440 if( gMemFlagsToUse != CL_MEM_COPY_HOST_PTR ) in test_read_image_2D_array()