Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: allow capturing the compiler output #342

Open
yxliang01 opened this issue May 21, 2020 · 1 comment
Open

feat: allow capturing the compiler output #342

yxliang01 opened this issue May 21, 2020 · 1 comment

Comments

@yxliang01
Copy link
Contributor

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.

@inducer
Copy link
Owner

inducer commented May 21, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants