I just wanted to say that I’ve got the exact same problem. I manage to use other extensions (though I haven’t tried them all), but this one doesn’t seem to be recognized by the nvidia drivers I use.
Not only are Extensions optional between vendors, not all devices of a vendor need support the same extensions. There is a CL_DEVICE_EXTENSIONS value that can be specified in the clGetDeviceInfo call to get the extensions supported. If you are writing code for others to run, it would be a good idea to make that call right in the application, so you can manage a graceful failure.
I do not know what to say about DTXCompression.cl . The above test should be definitive though.
From the last printout I did, 195.39, my 8800GTX did not list cl_khr_3d_image_writes as an extension it supported.
Wait, I think you might be focusing on the wrong problem. Look at the “Compilation error when using atomic functions” a couple down. Different extension, but got 2 warnings & an error, just like you. Fix the error, ignore the warning.
Everything I said in my previous post is still valid, I think.
Thanks for the information, I guess I misinterpreted the word “optional” in the specification.
Indeed, a printout from the card i use with drivers 195.17 clearly indicates the extension ‘cl_khr_3d_image_writes’ is not supported. I guess I’ll just use an array of 2D images then…
I know the previous post is very old but it seems that even on a new nVidia 660 GTX this particular extension (cl_khr_3d_image_writes) is not supported. It is supported on (some?) AMD hardware.