|
|
#1 | |
|
Registered User
Join Date: Mar 2010
Posts: 5
|
My OpenCL programs that used to run no longer run under the new driver.
The problem appears to be with the clCreateContextFromType function that fails with a -32 error code or "CL_INVALID_PLATFORM". I'm calling the function with the device type of "CL_DEVICE_TYPE_GPU". Thanks,Grimm |
|
|
|
|
|
|
#2 | |
|
NVIDIA Corporation
Join Date: Feb 2010
Location: Santa Clara, CA
Posts: 237
|
Hi grimm,
Thanks for reporting this bug. Can you provide a test program (if not your program itself, then at least a simple test case that highlights the problem) and an nvidia-bug-report.log please? |
|
|
|
|
|
|
#3 | |
|
Registered User
Join Date: Mar 2010
Posts: 5
|
No problem, I'm using the Ruby bindings to OpenCL. I have attached a sample program that came with the bindings that just lists the device info. This program used to work with the previous drivers and now gives the invalid device error. I also attached the bug report log as well. Hmm, the forum software would not allow me to upload the Ruby program file so I will include it here in full as it's not long.
device_query.rb Quote:
|
|
|
|
|
|
|
#4 | |
|
NVIDIA Corporation
Join Date: Feb 2010
Location: Santa Clara, CA
Posts: 237
|
Thanks, I'll file a bug for this internally.
What was the last version you used that did work? |
|
|
|
|
|
|
#5 |
|
Registered User
Join Date: Mar 2010
Posts: 5
|
Thanks, the last version I was using was I think 190.29.
Grimm |
|
|
|
|
|
#6 | |
|
Registered User
Join Date: Mar 2010
Posts: 5
|
I have also confirmed that this is a problem with the C++ bindings on my machine as well. I have reverted back to the previous driver and everything is working again.
Thanks, Grimm |
|
|
|
|
|
|
#7 |
|
Registered User
Join Date: Mar 2010
Posts: 5
|
The ruby bindings programmer has updated the bindings to work with the new 3.0 version. Everything is working great now.
Thank you very much for your help.Grimm |
|
|
|
![]() |
| Thread Tools | |
|
|