webcl-firefox
webcl-firefox copied to clipboard
Implement DEBUG() for WebCLAsyncWorker.js
The current implementation of DEBUG() uses console.log(), which is apparently not available in Workers (not even ChromeWorkers). We need some other way to print debug messages.
console.log
should be available for Workers since Firefox 29. DEBUG() still doesn't seem to be working, though, because nothing shows up in the console. Need to investigate.