-
Notifications
You must be signed in to change notification settings - Fork 6
Tutorial
For build your sample you simply need to use emcc for build you C/C++ sources. You can take a look to the Makefile inside the webcl samples folder.
The WebCL-translator add some build settings for have more info during the execution of the OpenCL/WebCL code.
- OPENCL_OLD_VERSION
Enable the first version of WebCL-translator, this version it's compatible for Firefox and Webkit. It's not compatible with cl.hpp headers, doesn't implement all the OpenCL function. The CL/GL interoperability it's partially supported.
By default the settings is disabled, and use the last version of WebCL-translator, only compatible with WebKit. With an implementation of all OpenCL function, support of cl.hpp header.
-
OPENCL_DEBUG
-
OPENCL_GRAB_TRACE
-
OPENCL_PRINT_TRACE
-
OPENCL_PROFILE
-
OPENCL_CHECK_SET_POINTER
-
OPENCL_CHECK_VALID_OBJECT