favreau / bullet

Automatically exported from code.google.com/p/bullet
0 stars 0 forks source link

Non-SIMD-aware OpenCL solver fails to create kernels (patch attached) #546

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The issue turned out to be mis-spellings in the kernel names (leading m_ on the 
names, etc). I fixed that, and also added some basic error reporting code. I 
also added a call to buildShaders() at the end of optiimze() in 
btSoftBodySolver_OpenCL.cpp. The rest of the patch includes formatting fixes 
(you can thank QtCreator for that). Most of the patch can actually be ignored 
(is benign), other than the CL kernel names and the call to buildShaders().

Patch is made against r2436.

Original issue reported on code.google.com by ggjun...@gmail.com on 16 Sep 2011 at 9:52

Attachments:

GoogleCodeExporter commented 9 years ago
FWIW, the error messages added are taken directly from the OpenCL man page on 
clCreateKernel:

http://www.khronos.org/registry/cl/sdk/1.0/docs/man/xhtml/clCreateKernel.html

Original comment by ggjun...@gmail.com on 16 Sep 2011 at 9:54

GoogleCodeExporter commented 9 years ago
fixed in trunk and in 2.79

Thanks for the contrib!

Original comment by erwin.coumans on 17 Sep 2011 at 5:13