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

Allow the IPython Magic to Accept Build Options #44

Closed
cancan101 opened this issue Jun 2, 2014 · 1 comment
Closed

Allow the IPython Magic to Accept Build Options #44

cancan101 opened this issue Jun 2, 2014 · 1 comment

Comments

@cancan101
Copy link
Contributor

Currently there is no way to pass any build options to the builder when using the IPython magic:

prg = cl.Program(ctx, cell.encode("utf8")).build()

https://github.com/pyopencl/pyopencl/blob/master/pyopencl/ipython_ext.py#L30

It would be great if I could put options on the first line.

@inducer
Copy link
Owner

inducer commented Jul 19, 2014

Fixed by you in #47, I think. Thanks again!

@inducer inducer closed this as completed Jul 19, 2014
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