pyopencl icon indicating copy to clipboard operation
pyopencl copied to clipboard

feat: allow capturing the compiler output

Open yxliang01 opened this issue 5 years ago • 1 comments

Currently, when we set the PYOPENCL_COMPILER_OUTPPUT=1, the compiler output can be printed to terminal. However, it's also wanted that our python script can also capture the compiler output with a built-in supported way of doing so for cases of building passing and failing.

yxliang01 avatar May 21 '20 14:05 yxliang01

Happy to consider a PR. Functionality is in pyopencl._cl.Program._get_build_logs().

inducer avatar May 21 '20 21:05 inducer