AdamRLukaitis / simple-opencl

Automatically exported from code.google.com/p/simple-opencl
0 stars 0 forks source link

Check consistent use of "ifdef DEBUG" #8

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
If pattern "ifdef DEBUG" is the chosen to handle "err" variable we should use 
it anywhere.

I have found functions that don't use it:

  - sclReleaseMemObject
  - sclPrintHardwareStatus
  - sclGetAllHardware
  - sclGetGPUHardware (commented lines)
  - sclGetCPUHardware (commented lines)

(could be more functions)

Original issue reported on code.google.com by conta...@rafagarcia.net on 13 Sep 2013 at 10:00