browndeer / coprthr

The CO-PRocessing THReads (COPRTHR) SDK - latest release is v1.6.2 (Freewill)
http://www.browndeertechnology.com/coprthr.html
Other
94 stars 35 forks source link

Update libclrpc.c #14

Closed stevechk closed 9 years ago

stevechk commented 10 years ago

From the OpenCL spec, pevent can be NULL in all calls. Add NULL check, otherwise a call passing a NULL pevent will cause a seg fault.

stevechk commented 10 years ago

Also make a couple of small updates to get libocl to compile under cygwin.

browndeer commented 10 years ago

The stable-1.6 branch should have commits that address the above issues, in some cases in slightly different way. Please let us know if any outstanding issues. Thanks for identifying these.