Risk-Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

get_image_channel_data_type - Return the channel data type.

Authors

TheKhronosGroup

Description

       Return the channel data type. Valid values are:

           CLK_SNORM_INT8
           CLK_SNORM_INT16
           CLK_UNORM_INT8
           CLK_UNORM_INT16
           CLK_UNORM_SHORT_565
           CLK_UNORM_SHORT_555
           CLK_UNORM_SHORT_101010
           CLK_SIGNED_INT8
           CLK_SIGNED_INT16
           CLK_SIGNED_INT32
           CLK_UNSIGNED_INT8
           CLK_UNSIGNED_INT16
           CLK_UNSIGNED_INT32
           CLK_HALF_FLOAT
           CLK_FLOAT

Name

       get_image_channel_data_type - Return the channel data type.

       intget_image_channel_data_type(image1d_timage);intget_image_channel_data_type(image1d_buffer_timage);intget_image_channel_data_type(image2d_timage);intget_image_channel_data_type(image3d_timage);intget_image_channel_data_type(image1d_array_timage);intget_image_channel_data_type(image2d_array_timage);

Notes

        1. OpenCL Specification
           page 292, section 6.12.14 - Image Read and Write Functions

The Khronos Group                                  11/18/2024                         GET_IMAGE_CHANNEL_DA(3clc)

See Also

imageFunctions(3clc)

Specification

OpenCLSpecification[1]

See Also