Received from Lev Givon on Thu, Oct 11, 2012 at 08:19:13AM EDT:
> Received from Freddie Witherden on Tue, Oct 09, 2012 at 10:50:23AM EDT:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > On 09/10/2012 15:36, Andreas Kloeckner wrote:
> > > First off, why are you making a new CUBLAS wrapper instead of
> > > making scikits.cuda better?
> > >
> > > http://pypi.python.org/pypi/scikits.cuda/
> >
> > I did look at -- and originally use -- the scikits.cuda wrapper.
> > However the wrapper only exposes the legacy v1 interface to CUBLAS.
> > (Although, for reasons I do not completely understand, will use the
> > _v2 interface it is is available but tries to shoehorn a v1 style
> > wrapper around it. Given that the v1 interface is still available in
> > the .so this seems strange to me.) Hence, the wrapper provides no
> > support for the device-pointer mode of v2.
>
> The current CUBLAS wrappers use the v2 interface because NVIDIA
> dropped the v1 interfaces in the early 4.x shared libraries. I tried
I should have added that the v1 interfaces were restored (as you
correctly observed) in subsequent releases.
> to maintain v1-like Python interface to avoid breaking code that was
> using it via the admittedly crude expedient of maintaining a global
> library context variable to pass to the v2 function interfaces. Rather
> than continue to propagate this situation, I'm going to modify the
> wrapper to expose the v2 interface outright.
L.G.
_______________________________________________
PyCUDA mailing list
[email protected]
http://lists.tiker.net/listinfo/pycuda