nV News Forums


nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   Software Development (http://www.nvnews.net/vbulletin/forumdisplay.php?f=53)
-   -   OpenCL 1.2 (http://www.nvnews.net/vbulletin/showthread.php?t=193074)

kugeleck 09-26-12 10:25 AM

OpenCL 1.2

I would have asked this question on the NVIDIA developer forum but since it's still down maybe someone here can tell me something.

Does anybody know if there is already OpenCL 1.2 support in NVIDIAs driver? If not, is it coming soon?

According to http://en.wikipedia.org/wiki/Compari...rce_600_Series there are already some GeForce cards that could support it.

It somewhat seems like NVIDIA does not mention OpenCL a whole lot anymore and just focuses on CUDA C/C++ (see http://www.streamcomputing.eu/blog/2...rt-for-opencl/). I guess it makes sense to them but I would like to see some more OpenCL love.


kugeleck 10-28-12 07:22 AM

Re: OpenCL 1.2
During a CUDA 5 webinar I asked about OpenCL 1.2. Nvidia's reply was something like: "We have not made any announcement concerning OpenCL 1.2".

Maybe they will support OpenCL 1.2 one day maybe not...

lostdistance 04-19-14 07:41 AM

Re: OpenCL 1.2
At last there is some hard evidence of forthcoming OpenCL 1.2 support from Nvidia.

The recently released CUDA 6 toolkit (for Linux) includes an OpenCL stub library libOpenCL.so which contains all the new OpenCL 1.2 functions plus some other Nvidia functions.

Specifically, the new libOpenCL.so stub library adds the following functions compared to the 337.12 driver release:

clCompileProgram (OpenCL 1.2)
clCreateFromGLTexture (Nvidia)
clCreateImage (OpenCL 1.2)
clCreateProgramWithBuiltInKernels (OpenCL 1.2)
clCreateSubDevices (OpenCL 1.2)
clEnqueueBarrierWithWaitList (OpenCL 1.2)
clEnqueueFillBuffer (OpenCL 1.2)
clEnqueueFillImage (OpenCL 1.2)
clEnqueueMarkerWithWaitList (OpenCL 1.2)
clEnqueueMigrateMemObjects (OpenCL 1.2)
clGetExtensionFunctionAddressForPlatform (Nvidia)
clGetKernelArgInfo (OpenCL 1.2)
clLinkProgram (OpenCL 1.2)
clReleaseDevice (OpenCL 1.2)
clRetainDevice (OpenCL 1.2)
clUnloadPlatformCompiler (OpenCL 1.2)

Unfortunately the CUDA 6 toolkit does not contain the actual OpenCL implementation library libnvidia-opencl.so. The 337.12 driver release libnvidia-opencl.so does not seem to support the new functions: when I tried to use clCreateImage() in place of clCreateImage2D() my program crashed.

All times are GMT -5. The time now is 01:26 AM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.