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
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.
> I did consider improving it however my attempts to contact the
> developer resulted in an e-mail bounce.
Sorry about the bounce, Freddie - that was due to a transient problem
with my mail that has since been fixed. Note that issues such as
development suggestions or requests regarding the toolbox can also
be reported on GitHub.
L.G.
_______________________________________________
PyCUDA mailing list
[email protected]
http://lists.tiker.net/listinfo/pycuda