Closed ancahamuraru closed 9 years ago
Tested the latest OpenCL build log management features. If the OpenCL build fails: the build log is printed out and also saved to file. Great!
I think we should also print out the name of the file where the log is saved.
In release build the log is saved to a file in case of failure. In debug build the log is saved to a file and if it failed it is also dumped on the console.
I guess there are cases when the log on console is also needed in release or successful compilation. In fact it should not be hardcoded. Maybe an option or a "getenv". Needs discussion
For the name of the file, it is done and it will be committed soon!
All good for now. We can leave the printing to the console just for debug mode.
For all builds, in case of OpenCL build failure, the log is saved to file and the name of the file gets printed to console. In debug, the log is also dumped to the console.
If building the OpenCL kernels fails a way of logging the build output is necessary. See also Issue #6