Allow passing build options with IPython Magic

This allows the user to pass build options using the first line of the cell.
Fixed.
On Jun 6, 2014 7:58 PM, "Yichao Yu" <notifications@github.com> wrote:

> In pyopencl/ipython_ext.py:
>
> > @@ -23,11 +23,14 @@ def cl_kernel(self, line, cell):
> >              except KeyError:
> >                  ctx = None
> >
> > +        if not isinstance(ctx, cl.Context):
> > +            ctx = None
> > +
> >          if ctx is None:
>
> IC. Didn't read the code above.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/pyopencl/pyopencl/pull/47/files#r13515863>.
>