OpenCL* for CPU
Ask questions and share information on Intel® SDK for OpenCL™ Applications and OpenCL™ implementations for Intel® CPU
Announcements
This forum covers OpenCL* for CPU only. OpenCL* for GPU questions can be asked in the GPU Compute Software forum. Intel® FPGA SDK for OpenCL™ questions can be ask in the FPGA Intel® High Level Design forum.
1663 Discussions

cl_channel_order 0x10BD ?

LLess
Beginner
147 Views

When my application starts I like to enumerate the texture format supported and today I noticed that with the latest driver I am now getting the following for the HD4000:

Supported 2D Image formats:

cl_channel_order 0x10BD + Channel Type CL_FLOAT

cl_channel_order 0x10BD + Channel Type CL_UNORM_INT16

As far as I can see in OpenCL 1.2 SDK 0x10BD is not defined, is it possible to know what channel order that represents?

Cheers.

Laurent

0 Kudos
4 Replies
Raghupathi_M_Intel
147 Views

Laurent,

0x10BD is CL_DEPTH used by the driver for shadow textures.

Thanks,
Raghu

Raghupathi_M_Intel
147 Views

Its in the 1.2 extension spec (section 9.12.1).

LLess
Beginner
147 Views

Hi Raghu,

Thanks for the information.

Laurent

LLess
Beginner
147 Views

Indeed I had missed that part.

However it is not defined in any include files provided with the SDK 3.0. I guess it will come with the next SDK update.

Laurent

Reply