get_image_channel_data_type - Return the channel data type.
Contents
Copyright
Copyright © 2007-2011 The Khronos Group Inc.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and/or
associated documentation files (the "Materials"), to deal in the Materials without restriction, including
without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Materials, and to permit persons to whom the Materials are furnished to do so, subject to
the condition that this copyright notice and permission notice shall be included in all copies or
substantial portions of the Materials.
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]
