Pierrick Bruneau
2018-02-08 08:25:47 UTC
Hi all,
This may sound as dumb to some of you, but is it possible to use numpy
functions in code compiled by compiler.SourceModule in some way ? (e.g.
included API)
I'm wondering this as there seems to be a close bind between numpy arrays,
gpuarrays, and int/float arrays in C++ code.
If numpy is not an option, there are maybe good practices in terms of
included libraries that play well with pycuda? To avoid recoding every
possible vector/matrix and utility stats functions :)
Best regards,
Pierrick Bruneau
This may sound as dumb to some of you, but is it possible to use numpy
functions in code compiled by compiler.SourceModule in some way ? (e.g.
included API)
I'm wondering this as there seems to be a close bind between numpy arrays,
gpuarrays, and int/float arrays in C++ code.
If numpy is not an option, there are maybe good practices in terms of
included libraries that play well with pycuda? To avoid recoding every
possible vector/matrix and utility stats functions :)
Best regards,
Pierrick Bruneau