Page 1 of 1

OpenCL not working with NVidia 465+

PostPosted: Fri May 21, 2021 7:18 pm
by Ronan Le Meillat
Hi,
I continue my development tests and I discovered that OpenCL does not work with Resolve 17.2 studio Windows GTX2070 (drivers 466.47) nor on Linux GTX2060 drivers 465), nor on Linux with a Quadro K1100M.
C4657CBF-90BD-48BB-AB12-10272DC56E95.png
C4657CBF-90BD-48BB-AB12-10272DC56E95.png (15.03 KiB) Viewed 946 times

Re: OpenCL not working with NVidia 465+

PostPosted: Sat May 22, 2021 6:25 am
by Ronan Le Meillat
But it works perfectly with NVidia 452.57 and a GTX1660Ti
452.57.png
452.57.png (45.99 KiB) Viewed 685 times

Re: OpenCL not working with NVidia 465+

PostPosted: Sat May 22, 2021 7:15 am
by Uli Plank
Oldies but goldies ;-)

Re: OpenCL not working with NVidia 465+

PostPosted: Sat May 22, 2021 7:20 am
by Ronan Le Meillat
Uli Plank wrote:Oldies but goldies ;-)

:lol:

Re: OpenCL not working with NVidia 465+

PostPosted: Sat May 22, 2021 12:24 pm
by Ronan Le Meillat
Perhaps an explaination:
I wrote this short code
Code: Select all
#include <CL/cl2.hpp>
#include <iostream>

int main (int argc, char *argv[]) {
std::vector<cl::Platform> platforms;
std::string               str;

cl::Platform::get(&platforms);
platforms[0].getInfo(CL_PLATFORM_VERSION, &str);
std::cout <<  str << std::endl;
}

With driver version 450.119.04 it gives
OpenCL 1.2 CUDA 11.0.228
But with drivers version 465.19.01
OpenCL 3.0 CUDA 11.3.55

So NVidia changes the default API layer...