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.
The plot thickens... it seems the runtime doesn't support images on these processors.
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
The environment variable fixed it. Thanks!
Is there a list somewhere of all environment variables that are supported?
i posted them in multiGPU and Stream 2.3 topic. search. and officiealy they are NOT supported. they can stop working disappear and all.