/external/OpenCL-CTS/test_conformance/api/ |
D | test_mem_object_info.cpp | 71 CL_MEM_READ_ONLY, in test_get_buffer_info() 72 CL_MEM_READ_ONLY | CL_MEM_COPY_HOST_PTR, in test_get_buffer_info() 73 CL_MEM_READ_ONLY | CL_MEM_ALLOC_HOST_PTR, in test_get_buffer_info() 74 CL_MEM_READ_ONLY | CL_MEM_ALLOC_HOST_PTR | CL_MEM_COPY_HOST_PTR, in test_get_buffer_info() 75 CL_MEM_READ_ONLY | CL_MEM_USE_HOST_PTR, in test_get_buffer_info() 86 CL_MEM_HOST_READ_ONLY | CL_MEM_READ_ONLY, in test_get_buffer_info() 87 CL_MEM_HOST_READ_ONLY | CL_MEM_READ_ONLY | CL_MEM_COPY_HOST_PTR, in test_get_buffer_info() 88 CL_MEM_HOST_READ_ONLY | CL_MEM_READ_ONLY | CL_MEM_ALLOC_HOST_PTR, in test_get_buffer_info() 89 CL_MEM_HOST_READ_ONLY | CL_MEM_READ_ONLY | CL_MEM_ALLOC_HOST_PTR | CL_MEM_COPY_HOST_PTR, in test_get_buffer_info() 90 CL_MEM_HOST_READ_ONLY | CL_MEM_READ_ONLY | CL_MEM_USE_HOST_PTR, in test_get_buffer_info() [all …]
|
D | test_min_image_formats.cpp | 44 CL_MEM_READ_ONLY, in test_min_image_formats() 81 const char* testTypeString = flags == CL_MEM_READ_ONLY in test_min_image_formats() 94 if (type == CL_MEM_OBJECT_IMAGE3D && flags != CL_MEM_READ_ONLY in test_min_image_formats()
|
D | test_api_min_max.cpp | 536 memHdl = clCreateBuffer( context, CL_MEM_READ_ONLY, (size_t)maxAllocSize, NULL, &error ); in test_min_max_mem_alloc_size() 591 …if (!is_image_format_supported( context, CL_MEM_READ_ONLY, CL_MEM_OBJECT_IMAGE2D, &image_format_de… in test_min_max_image_2d_width() 608 …streams[0] = create_image_2d( context, CL_MEM_READ_ONLY, &image_format_desc, maxDimension, 1, 0, N… in test_min_max_image_2d_width() 658 …if (!is_image_format_supported( context, CL_MEM_READ_ONLY, CL_MEM_OBJECT_IMAGE2D, &image_format_de… in test_min_max_image_2d_height() 675 …streams[0] = create_image_2d( context, CL_MEM_READ_ONLY, &image_format_desc, 1, maxDimension, 0, N… in test_min_max_image_2d_height() 698 CL_MEM_READ_ONLY, 0, &image_format_desc); in test_min_max_image_3d_width() 715 …if (!is_image_format_supported( context, CL_MEM_READ_ONLY, CL_MEM_OBJECT_IMAGE3D, &image_format_de… in test_min_max_image_3d_width() 732 …streams[0] = create_image_3d( context, CL_MEM_READ_ONLY, &image_format_desc, maxDimension, 1, 2, 0… in test_min_max_image_3d_width() 755 CL_MEM_READ_ONLY, 0, &image_format_desc); in test_min_max_image_3d_height() 772 …if (!is_image_format_supported( context, CL_MEM_READ_ONLY, CL_MEM_OBJECT_IMAGE3D, &image_format_de… in test_min_max_image_3d_height() [all …]
|
D | test_retain.cpp | 142 object = clCreateBuffer( context, CL_MEM_READ_ONLY, 32, NULL, &err ); in test_retain_mem_object_single() 174 object = clCreateBuffer( context, CL_MEM_READ_ONLY, 32, NULL, &err ); in test_retain_mem_object_multiple() 248 buffer = clCreateBuffer( context, CL_MEM_READ_ONLY, 32, NULL, &err ); in test_retain_mem_object_set_kernel_arg()
|
D | test_queries.cpp | 518 CL_MEM_READ_ONLY, 521 CL_MEM_READ_ONLY | CL_MEM_COPY_HOST_PTR, 524 CL_MEM_READ_ONLY | CL_MEM_ALLOC_HOST_PTR, 527 CL_MEM_READ_ONLY | CL_MEM_ALLOC_HOST_PTR | CL_MEM_COPY_HOST_PTR, 530 CL_MEM_READ_ONLY | CL_MEM_USE_HOST_PTR, 759 in = clCreateBuffer(context, CL_MEM_READ_ONLY, sizeof(cl_int)*global[0], NULL, &error); in test_kernel_required_group_size()
|
/external/OpenCL-CTS/test_conformance/basic/ |
D | test_imagecopy3d.cpp | 138 …streams[0] = create_image_3d(context, CL_MEM_READ_ONLY, &img_format, img_width, img_height, img_de… in test_imagecopy3d() 140 …streams[1] = create_image_3d(context, CL_MEM_READ_ONLY, &img_format, img_width, img_height, img_de… in test_imagecopy3d() 145 …streams[2] = create_image_3d(context, CL_MEM_READ_ONLY, &img_format, img_width, img_height, img_de… in test_imagecopy3d() 147 …streams[3] = create_image_3d(context, CL_MEM_READ_ONLY, &img_format, img_width, img_height, img_de… in test_imagecopy3d() 152 …streams[4] = create_image_3d(context, CL_MEM_READ_ONLY, &img_format, img_width, img_height, img_de… in test_imagecopy3d() 154 …streams[5] = create_image_3d(context, CL_MEM_READ_ONLY, &img_format, img_width, img_height, img_de… in test_imagecopy3d()
|
D | test_imagearraycopy3d.cpp | 41 image = create_image_3d(context, CL_MEM_READ_ONLY, format, img_width, in test_imagearraycopy3d_single_format() 126 context, CL_MEM_READ_ONLY, CL_MEM_OBJECT_IMAGE3D, 0, NULL, &num_formats); in test_imagearraycopy3d() 131 err = clGetSupportedImageFormats(context, CL_MEM_READ_ONLY, in test_imagearraycopy3d()
|
D | test_arrayimagecopy3d.cpp | 42 image = create_image_3d(context, CL_MEM_READ_ONLY, format, img_width, in test_arrayimagecopy3d_single_format() 130 context, CL_MEM_READ_ONLY, CL_MEM_OBJECT_IMAGE3D, 0, NULL, &num_formats); in test_arrayimagecopy3d() 135 err = clGetSupportedImageFormats(context, CL_MEM_READ_ONLY, in test_arrayimagecopy3d()
|
D | test_image_r8.cpp | 91 if (!is_image_format_supported(context, CL_MEM_READ_ONLY, in test_image_r8() 103 streams[0] = create_image_2d(context, CL_MEM_READ_ONLY, &img_format, in test_image_r8()
|
D | test_readimage3d.cpp | 154 …if (!is_image_format_required(formatsToTest[i].img_format, CL_MEM_READ_ONLY, CL_MEM_OBJECT_IMAGE3D… in test_readimage3d() 162 …streams[0] = create_image_3d(context, CL_MEM_READ_ONLY, &formatsToTest[i].img_format, img_width, i… in test_readimage3d()
|
/external/OpenCL-CTS/test_conformance/events/ |
D | action_classes.cpp | 287 … mImage = create_image_2d( context, CL_MEM_READ_ONLY, &format, mWidth, mHeight, 0, NULL, &error ); in Setup() 320 …mImage = create_image_3d( context, CL_MEM_READ_ONLY, &format, mWidth, mHeight, mDepth, 0, 0, NULL,… in Setup() 384 …mImage = create_image_3d( context, CL_MEM_READ_ONLY, &format, mWidth, mHeight, mDepth, 0, 0, NULL,… in Setup() 430 …mSrcImage = create_image_2d( context, CL_MEM_READ_ONLY, &format, mWidth, mHeight, 0, NULL, &error … in Setup() 451 …mSrcImage = create_image_2d( context, CL_MEM_READ_ONLY, &format, mWidth, mHeight, 0, NULL, &error … in Setup() 454 …mDstImage = create_image_3d( context, CL_MEM_READ_ONLY, &format, mWidth, mHeight, mDepth, 0, 0, NU… in Setup() 472 …mSrcImage = create_image_3d( context, CL_MEM_READ_ONLY, &format, mWidth, mHeight, mDepth, 0, 0, NU… in Setup() 493 …mSrcImage = create_image_3d( context, CL_MEM_READ_ONLY, &format, mWidth, mHeight, mDepth, 0, 0, NU… in Setup() 496 …mDstImage = create_image_3d( context, CL_MEM_READ_ONLY, &format, mWidth, mHeight, mDepth, 0, 0, NU… in Setup() 515 …mSrcImage = create_image_2d( context, CL_MEM_READ_ONLY, &format, mWidth, mHeight, 0, NULL, &error … in Setup() [all …]
|
/external/tensorflow/tensorflow/lite/delegates/gpu/cl/ |
D | cl_memory.cc | 25 return CL_MEM_READ_ONLY; in ToClMemFlags() 32 return CL_MEM_READ_ONLY; // unreachable in ToClMemFlags()
|
/external/OpenCL-CTS/test_conformance/SVM/ |
D | test_allocate_shared_buffer.cpp | 21 CL_MEM_READ_ONLY, 24 CL_MEM_READ_ONLY | CL_MEM_SVM_FINE_GRAIN_BUFFER, 27 CL_MEM_READ_ONLY | CL_MEM_SVM_FINE_GRAIN_BUFFER | CL_MEM_SVM_ATOMICS,
|
/external/OpenCL-CTS/test_conformance/images/clGetInfo/ |
D | test_loops.cpp | 27 …nly tests...\n", convert_image_type_to_string(image_type), flags == CL_MEM_READ_ONLY ? "read" : "w… in test_image_type() 88 ret += test_image_type( device, context, image_type, CL_MEM_READ_ONLY ); in test_image_set()
|
/external/OpenCL-CTS/test_conformance/spirv_new/ |
D | test_decorate.cpp | 57 clMemWrapper lhs = clCreateBuffer(context, CL_MEM_READ_ONLY, bytes, NULL, &err); in verify_results() 63 clMemWrapper rhs = clCreateBuffer(context, CL_MEM_READ_ONLY, bytes, NULL, &err); in verify_results() 224 clMemWrapper lhs = clCreateBuffer(context, CL_MEM_READ_ONLY, in_bytes, NULL, &err); in verify_saturated_results() 230 clMemWrapper rhs = clCreateBuffer(context, CL_MEM_READ_ONLY, in_bytes, NULL, &err); in verify_saturated_results() 333 clMemWrapper in = clCreateBuffer(context, CL_MEM_READ_ONLY, in_bytes, NULL, &err); in TEST_SATURATED_CONVERSION() 336 clMemWrapper out = clCreateBuffer(context, CL_MEM_READ_ONLY, out_bytes, NULL, &err); in TEST_SATURATED_CONVERSION()
|
D | test_op_lifetime.cpp | 35 clMemWrapper lhs = clCreateBuffer(context, CL_MEM_READ_ONLY, bytes, NULL, &err); in test_op_lifetime() 41 clMemWrapper rhs = clCreateBuffer(context, CL_MEM_READ_ONLY, bytes, NULL, &err); in test_op_lifetime()
|
D | test_op_branch_conditional.cpp | 35 clMemWrapper lhs = clCreateBuffer(context, CL_MEM_READ_ONLY, bytes, NULL, &err); in test_branch_conditional() 41 clMemWrapper rhs = clCreateBuffer(context, CL_MEM_READ_ONLY, bytes, NULL, &err); in test_branch_conditional()
|
D | test_op_selection_merge.cpp | 35 clMemWrapper lhs = clCreateBuffer(context, CL_MEM_READ_ONLY, bytes, NULL, &err); in test_selection_merge() 41 clMemWrapper rhs = clCreateBuffer(context, CL_MEM_READ_ONLY, bytes, NULL, &err); in test_selection_merge()
|
D | test_op_phi.cpp | 35 clMemWrapper lhs = clCreateBuffer(context, CL_MEM_READ_ONLY, bytes, NULL, &err); in test_phi() 41 clMemWrapper rhs = clCreateBuffer(context, CL_MEM_READ_ONLY, bytes, NULL, &err); in test_phi()
|
/external/skqp/tools/ |
D | hello-opencl.cpp | 90 cl::Buffer A(ctx, CL_MEM_READ_ONLY | CL_MEM_COPY_HOST_PTR , sizeof(float)*a.size(), a.data()), in main() 91 B(ctx, CL_MEM_READ_ONLY | CL_MEM_COPY_HOST_PTR , sizeof(float)*b.size(), b.data()), in main()
|
/external/OpenCL-CTS/test_conformance/images/clReadWriteImage/ |
D | test_loops.cpp | 39 …ps?"mipmapped":"",convert_image_type_to_string(imageType), flags == CL_MEM_READ_ONLY ? "read" : "w… in test_image_type() 120 ret += test_image_type( device, context, queue, imageType, CL_MEM_READ_ONLY ); in test_image_set()
|
/external/OpenCL-CTS/test_conformance/images/kernel_image_methods/ |
D | test_loops.cpp | 40 …only tests...\n", convert_image_type_to_string(imageType), flags == CL_MEM_READ_ONLY ? "read" : "w… in test_image_type() 120 ret += test_image_type( device, context, queue, imageType, CL_MEM_READ_ONLY ); in test_image_set()
|
/external/skia/tools/ |
D | hello-opencl.cpp | 88 A(ctx, CL_MEM_READ_ONLY | CL_MEM_COPY_HOST_PTR , sizeof(float)*a.size(), a.data()), in main() 89 B(ctx, CL_MEM_READ_ONLY | CL_MEM_COPY_HOST_PTR , sizeof(float)*b.size(), b.data()), in main()
|
/external/OpenCL-CTS/test_conformance/images/samplerlessReads/ |
D | test_read_1D_buffer.cpp | 58 …cl_mem imageBuffer = clCreateBuffer( context, CL_MEM_READ_ONLY | CL_MEM_COPY_HOST_PTR, imageInfo->… in test_read_image_1D_buffer() 69 image[0] = clCreateImage( context, CL_MEM_READ_ONLY, imageInfo->format, in test_read_image_1D_buffer() 93 …image[1] = clCreateImage( context, CL_MEM_READ_ONLY|CL_MEM_COPY_HOST_PTR, imageInfo->format, &imag… in test_read_image_1D_buffer()
|
/external/OpenCL-CTS/test_conformance/buffers/ |
D | test_buffer_mem.cpp | 82 bool test_read_only = (flags & CL_MEM_READ_ONLY) != 0; in test_mem_flags() 226 return test_mem_flags(context, queue, num_elements, CL_MEM_READ_ONLY, in test_mem_read_only_flags()
|