Home
last modified time | relevance | path

Searched refs:CL_MEM_WRITE_ONLY (Results 1 – 25 of 77) sorted by relevance

1234

/external/OpenCL-CTS/test_conformance/api/
Dtest_mem_object_info.cpp76 CL_MEM_WRITE_ONLY, in test_get_buffer_info()
77 CL_MEM_WRITE_ONLY | CL_MEM_COPY_HOST_PTR, in test_get_buffer_info()
78 CL_MEM_WRITE_ONLY | CL_MEM_ALLOC_HOST_PTR, in test_get_buffer_info()
79 CL_MEM_WRITE_ONLY | CL_MEM_ALLOC_HOST_PTR | CL_MEM_COPY_HOST_PTR, in test_get_buffer_info()
80 CL_MEM_WRITE_ONLY | CL_MEM_USE_HOST_PTR, in test_get_buffer_info()
91 CL_MEM_HOST_READ_ONLY | CL_MEM_WRITE_ONLY, in test_get_buffer_info()
92 CL_MEM_HOST_READ_ONLY | CL_MEM_WRITE_ONLY | CL_MEM_COPY_HOST_PTR, in test_get_buffer_info()
93 CL_MEM_HOST_READ_ONLY | CL_MEM_WRITE_ONLY | CL_MEM_ALLOC_HOST_PTR, in test_get_buffer_info()
94 CL_MEM_HOST_READ_ONLY | CL_MEM_WRITE_ONLY | CL_MEM_ALLOC_HOST_PTR | CL_MEM_COPY_HOST_PTR, in test_get_buffer_info()
95 CL_MEM_HOST_READ_ONLY | CL_MEM_WRITE_ONLY | CL_MEM_USE_HOST_PTR, in test_get_buffer_info()
[all …]
Dtest_min_image_formats.cpp45 CL_MEM_WRITE_ONLY, in test_min_image_formats()
83 : flags == CL_MEM_WRITE_ONLY in test_min_image_formats()
Dtest_queries.cpp519 CL_MEM_WRITE_ONLY,
522 CL_MEM_WRITE_ONLY | CL_MEM_COPY_HOST_PTR,
525 CL_MEM_WRITE_ONLY | CL_MEM_ALLOC_HOST_PTR,
528 CL_MEM_WRITE_ONLY | CL_MEM_ALLOC_HOST_PTR | CL_MEM_COPY_HOST_PTR,
531 CL_MEM_WRITE_ONLY | CL_MEM_USE_HOST_PTR,
761 out = clCreateBuffer(context, CL_MEM_WRITE_ONLY, sizeof(cl_int)*global[0], NULL, &error); in test_kernel_required_group_size()
Dtest_mem_object_properties_queries.cpp124 & (CL_MEM_READ_WRITE | CL_MEM_READ_ONLY | CL_MEM_WRITE_ONLY); in create_object_and_check_properties()
216 flags = CL_MEM_WRITE_ONLY | CL_MEM_COPY_HOST_PTR; in run_test_query_properties()
Dtest_null_buffer_arg.cpp176 cl_mem dev_dst = clCreateBuffer(context, CL_MEM_WRITE_ONLY, buffer_size, in test_null_buffer_arg()
/external/OpenCL-CTS/test_conformance/SVM/
Dtest_allocate_shared_buffer.cpp20 CL_MEM_WRITE_ONLY,
23 CL_MEM_WRITE_ONLY | CL_MEM_SVM_FINE_GRAIN_BUFFER,
26 CL_MEM_WRITE_ONLY | CL_MEM_SVM_FINE_GRAIN_BUFFER | CL_MEM_SVM_ATOMICS,
/external/tensorflow/tensorflow/lite/delegates/gpu/cl/
Dcl_memory.cc27 return CL_MEM_WRITE_ONLY; in ToClMemFlags()
/external/OpenCL-CTS/test_conformance/buffers/
Dtest_buffer_mem.cpp83 bool test_write_only = (flags & CL_MEM_WRITE_ONLY) != 0; in test_mem_flags()
219 return test_mem_flags(context, queue, num_elements, CL_MEM_WRITE_ONLY, in test_mem_write_only_flags()
/external/OpenCL-CTS/test_conformance/half/
Dcl_utils.cpp176 gOutBuffer_half = clCreateBuffer(gContext, CL_MEM_WRITE_ONLY, BUFFER_SIZE/2, NULL, &error ); in InitCL()
183 …gOutBuffer_single = clCreateBuffer(gContext, CL_MEM_WRITE_ONLY, getBufferSize(device), NULL, &erro… in InitCL()
191 …gOutBuffer_double = clCreateBuffer(gContext, CL_MEM_WRITE_ONLY, (size_t)(2*getBufferSize(device)),… in InitCL()
/external/OpenCL-CTS/test_conformance/events/
Daction_classes.cpp352 … mImage = create_image_2d( context, CL_MEM_WRITE_ONLY, &format, mWidth, mHeight, 0, NULL, &error ); in Setup()
433 …mDstImage = create_image_2d( context, CL_MEM_WRITE_ONLY, &format, mWidth, mHeight, 0, NULL, &error… in Setup()
475 …mDstImage = create_image_2d( context, CL_MEM_WRITE_ONLY, &format, mWidth, mHeight, 0, NULL, &error… in Setup()
518 mDstBuffer = clCreateBuffer( context, CL_MEM_WRITE_ONLY, mWidth * mHeight * 4, NULL, &error ); in Setup()
548 …mDstBuffer = clCreateBuffer( context, CL_MEM_WRITE_ONLY, mWidth * mHeight * mDepth * 4, NULL, &err… in Setup()
579 …mDstImage = create_image_2d( context, CL_MEM_WRITE_ONLY, &format, mWidth, mHeight, 0, NULL, &error… in Setup()
/external/OpenCL-CTS/test_conformance/basic/
Dtest_writeimage.cpp183 …streams[2] = clCreateImage2D(context, CL_MEM_WRITE_ONLY, &img_format, img_width, img_height, 0, NU… in test_writeimage()
193 …streams[3] = create_image_2d(context, CL_MEM_WRITE_ONLY, &img_format, img_width, img_height, 0, NU… in test_writeimage()
Dtest_constant_source.cpp64 outStream = clCreateBuffer( context, CL_MEM_WRITE_ONLY, sizeof( outValues ), NULL, &error ); in test_constant_source()
Dtest_vec_type_hint.cpp88 out = clCreateBuffer(context, CL_MEM_WRITE_ONLY, sizeof(cl_int)*10, NULL, &error); in test_vec_type_hint()
Dtest_local_kernel_scope.cpp95 …streams[ 1 ] = clCreateBuffer( context, CL_MEM_WRITE_ONLY, numGroups * sizeof(cl_uint), NULL, &err… in test_local_kernel_scope()
Dtest_writeimage_fp32.cpp105 …streams[1] = create_image_2d(context, CL_MEM_WRITE_ONLY, &img_format, img_width, img_height, 0, NU… in test_writeimage_fp32()
Dtest_writeimage_int16.cpp111 …streams[1] = create_image_2d(context, CL_MEM_WRITE_ONLY, &img_format, img_width, img_height, 0, NU… in test_writeimage_int16()
/external/OpenCL-CTS/test_conformance/images/clGetInfo/
Dtest_loops.cpp89 ret += test_image_type( device, context, image_type, CL_MEM_WRITE_ONLY ); in test_image_set()
/external/skqp/tools/
Dhello-opencl.cpp92 P(ctx, CL_MEM_WRITE_ONLY| CL_MEM_HOST_READ_ONLY, sizeof(float)*p.size()); in main()
/external/OpenCL-CTS/test_conformance/images/clReadWriteImage/
Dtest_loops.cpp121 ret += test_image_type( device, context, queue, imageType, CL_MEM_WRITE_ONLY ); in test_image_set()
/external/OpenCL-CTS/test_conformance/gl/
Dtest_images_write_common.cpp411 clMemWrapper image = (*clCreateFromGLTexture_ptr)( context, CL_MEM_WRITE_ONLY, in test_image_write()
714 …if (!is_image_format_supported(context, CL_MEM_WRITE_ONLY, (targets[tidx] == GL_TEXTURE_2D || targ… in test_images_write_common()
722 …if (!is_image_format_supported(context, CL_MEM_WRITE_ONLY, (targets[tidx] == GL_TEXTURE_2D || targ… in test_images_write_common()
/external/OpenCL-CTS/test_conformance/images/kernel_image_methods/
Dtest_loops.cpp121 ret += test_image_type( device, context, queue, imageType, CL_MEM_WRITE_ONLY ); in test_image_set()
/external/skia/tools/
Dhello-opencl.cpp90 P(ctx, CL_MEM_WRITE_ONLY| CL_MEM_HOST_READ_ONLY, sizeof(float)*p.size()); in main()
/external/OpenCL-CTS/test_conformance/subgroups/
Dtest_queries.cpp153 out = clCreateBuffer(context, CL_MEM_WRITE_ONLY, sizeof(result), NULL, in test_sub_group_info()
/external/OpenCL-CTS/test_conformance/generic_address_space/
Dstress_tests.cpp52 clMemWrapper buffer = clCreateBuffer(context, CL_MEM_WRITE_ONLY, bufferSize, NULL, &error); in ExecuteSubcase()
/external/skqp/src/compute/skc/platforms/cl_12/
Dextent_cl_12_unified.c171 CL_MEM_WRITE_ONLY | CL_MEM_ALLOC_HOST_PTR, in skc_extent_phrN_pdwN_alloc()

1234