Problem with CL_DEVICE_IMAGE2D_MAX_WIDTH and CL_DEVICE_IMAGE2D_MAX_HEIGHT

Hi, all,

I have installed the OpenCL driver on my Tesla workstion. After executing the “oclDeviceQuery” program in the OpenCL
SDK, I found that the reported value of CL_DEVICE_IMAGE2D_MAX_WIDTH and CL_DEVICE_IMAGE2D_MAX_HEIGHT is not
consistend with the texture reference range in the CUDA programming guide ( I think it is supposed to be consistent)

For a texture reference bound to a 2D CUDA array, the maximum width and height is 2^16 and 2^15 respectively.

However, the reported value of CL_DEVICE_IMAGE2D_MAX_WIDTH and CL_DEVICE_IMAGE2D_MAX_HEIGHT is 8092 and 8092 respectively.

PS: the value of CL_DEVICE_IMAGE3D_MAX_WIDTH and CL_DEVICE_IMAGE3D_MAX_HEIGHT is consistent with the texture reference bound to a 3D CUDA array.

Anyone knows the reason? Thanks in advance.