cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

rick_weber
Adept II

CL_DEVICE_IMAGE2D_MAX_WIDTH returns 0 on CPUs

When I query the maximum 2D image width using clGetDeviceInfo, it returns 0 as the maximum width. I'm using SDK 2.3, so images should be supported on the CPU. I'm running this on Intel X5570 processors. I know AMD doesn't support Intel's products, but I would imagine this bug is reproducible on AMD processors as well.

0 Likes
5 Replies
rick_weber
Adept II

The plot thickens... it seems the runtime doesn't support images on these processors.

0 Likes

of course. when device do not support image it return 0. so check CL_DEVICE_IMAGE_SUPPORT first. and image support on CPU is in 2.3 in beta stage. so you must enabled it with env var CPU_IMAGE_SUPPORT=1

0 Likes

The environment variable fixed it. Thanks!

0 Likes

Is there a list somewhere of all environment variables that are supported?

0 Likes

i posted them in multiGPU and Stream 2.3 topic. search. and officiealy they are NOT supported. they can stop working disappear and all.

0 Likes