https://bugs.winehq.org/show_bug.cgi?id=46470
--- Comment #8 from Sveinar Søpler cybermax@dexter.no --- (In reply to Nakarin Khankham from comment #7)
Since wine's opencl.dll pass-though is missing some functions that was added in OpenCL 1.1+
Or test it with Windows version of Blender 2.79b, both before and after apply the patch. Set the compute device to your OpenCL GPU. If wine didn't pass-thought OpenCL 1.2 functionary, the GPU will not be list as a compute device in blender. Then render the default scene with Cycle to see if it really working.
Not really sure how to interpret this, cos the clinfo.exe reports more or less the same as GPU Caps Viewer, except at the end.
Number of platforms 1 Platform Name NVIDIA CUDA Platform Vendor NVIDIA Corporation Platform Version OpenCL 1.2 CUDA 10.1.95 Platform Profile FULL_PROFILE Platform Extensions
Platform Name NVIDIA CUDA Number of devices 1 Device Name GeForce GTX 970 Device Vendor NVIDIA Corporation Device Vendor ID 0x10de Device Version OpenCL 1.2 CUDA Driver Version 418.31.03 Device OpenCL C Version OpenCL C 1.2 Device Type GPU Device Profile FULL_PROFILE blabla blabla and so on NULL platform behavior clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...) No platform clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...) No platform clCreateContext(NULL, ...) [default] No platform clCreateContext(NULL, ...) [other] Success [P0] clCreateContextFromType(NULL, CL_DEVICE_TYPE_DEFAULT) No platform clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU) No devices found in platform clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU) No platform clCreateContextFromType(NULL, CL_DEVICE_TYPE_ACCELERATOR) No devices found in platform clCreateContextFromType(NULL, CL_DEVICE_TYPE_CUSTOM) Invalid device type for platform clCreateContextFromType(NULL, CL_DEVICE_TYPE_ALL) No platform NOTE: your OpenCL library only supports OpenCL 1.0, but some installed platforms support OpenCL 1.2. Programs using 1.2 features may crash or behave unexpectedly
So.. is it the "NULL platform" that is the issue here? Or is this "NULL Platform" the error message that CL 1.2 is not supported?
Blender seems to support CUDA for nVidia (via staging nvapi.dll hacks), but i dont really have a clue on how to USE blender, so i dont know any more tests. (Unless you can provide some extremely simple "load this -> Press that button" instructions for me..)