The following is the list of read-only surface formats supported with both OpenCL 1.2 platform and OpenCL 2.0 platform (available with Intel® Core™ M processors).

cl_channel_order

cl_channel_type

GPU

CPU

CL_RGBA

CL_UNORM_INT8

Yes

Yes

CL_RGBA

CL_UNORM_INT16

Yes

Yes

CL_RGBA

CL_SIGNED_INT8

Yes

Yes

CL_RGBA

CL_SIGNED_INT16

Yes

Yes

CL_RGBA

CL_SIGNED_INT32

Yes

Yes

CL_RGBA

CL_UNSIGNED_INT8

Yes

Yes

CL_RGBA

CL_UNSIGNED_INT16

Yes

Yes

CL_RGBA

CL_UNSIGNED_INT32

Yes

Yes

CL_RGBA

CL_HALF_FLOAT

Yes

Yes

CL_RGBA

CL_FLOAT

Yes

Yes

CL_RGBA

CL_SNORM_INT8

Yes

Yes

CL_RGBA

CL_SNORM_INT16

Yes

Yes

CL_BGRA

CL_UNORM_INT8

Yes

Yes

CL_R

CL_FLOAT

Yes

Yes

CL_R

CL_UNORM_INT8

Yes

Yes

CL_R

CL_UNORM_INT16

Yes

Yes

CL_R

CL_SIGNED_INT8

Yes

Yes

CL_R

CL_SIGNED_INT16

Yes

Yes

CL_R

CL_SIGNED_INT32

Yes

Yes

CL_R

CL_UNSIGNED_INT8

Yes

Yes

CL_R

CL_UNSIGNED_INT16

Yes

Yes

CL_R

CL_UNSIGNED_INT32

Yes

Yes

CL_R

CL_HALF_FLOAT

Yes

Yes

CL_R

CL_SNORM_INT8

Yes

Yes

CL_R

CL_SNORM_INT16

Yes

Yes

CL_INTENSITY

CL_UNORM_INT8

Yes

Yes

CL_INTENSITY

CL_UNORM_INT16

Yes

Yes

CL_INTENSITY

CL_HALF_FLOAT

Yes

Yes

CL_INTENSITY

CL_FLOAT

Yes

Yes

CL_LUMINANCE

CL_UNORM_INT8

Yes

Yes

CL_LUMINANCE

CL_UNORM_INT16

Yes

Yes

CL_LUMINANCE

CL_HALF_FLOAT

Yes

Yes

CL_LUMINANCE

CL_FLOAT

Yes

Yes

CL_A

CL_UNORM_INT8

Yes

Yes

CL_A

CL_UNORM_INT16

Yes

Yes

CL_A

CL_HALF_FLOAT

Yes

Yes

CL_A

CL_FLOAT

Yes

Yes

CL_RG

CL_UNORM_INT8

Yes

Yes

CL_RG

CL_UNORM_INT16

Yes

Yes

CL_RG

CL_SIGNED_INT8

Yes

Yes

CL_RG

CL_SIGNED_INT16

Yes

Yes

CL_RG

CL_SIGNED_INT32

Yes

Yes

CL_RG

CL_UNSIGNED_INT8

Yes

Yes

CL_RG

CL_UNSIGNED_INT16

Yes

Yes

CL_RG

CL_UNSIGNED_INT32

Yes

Yes

CL_RG

CL_HALF_FLOAT

Yes

Yes

CL_RG

CL_FLOAT

Yes

Yes

CL_RG

CL_SNORM_INT8

Yes

Yes

CL_RG

CL_SNORM_INT16

Yes

Yes

CL_sRGBA

CL_UNORM_INT8

Yes

Yes

CL_sBGRA

CL_UNORM_INT8

Yes

Yes

CL_DEPTH

CL_FLOAT

Yes

Yes

CL_DEPTH

CL_UNORM_INT16

Yes

Yes

CL_DEPTH_STENCIL

CL_UNORM_INT24

Yes

No

CL_DEPTH_STENCIL

CL_FLOAT

Yes

No

有关编译器优化的更完整信息,请参阅优化通知