[Numpy-discussion] help writing an array subtype

2009-02-05 Thread Trevor Clarke
I'm embedded python (and numpy) is a C++ app and I'm trying to access my array data in numpy but I'm not sure where to start. Due to data sizes, I don't have access to the entire array contiguously, my app implements a virtual memory like paging system where variable sized pages of data are brought

[Numpy-discussion] custom allocation of numpy array

2009-07-07 Thread Trevor Clarke
I'm embedding python and numpy in a C++ program and I want to share some data owned by C++. I'm able to get the allocation/deallocation and memory sharing working for a contiguous array. However, I have non-contiguous data (random sub-array locations, not a fixed skip factor) and I may not have all

Re: [Numpy-discussion] GPU Numpy

2009-08-05 Thread Trevor Clarke
With OpenCL implementations making their way into the wild, that's probably a better target than CUDA. On Wed, Aug 5, 2009 at 3:39 PM, Ian Mallett wrote: > On Wed, Aug 5, 2009 at 11:34 AM, Charles R Harris < > charlesr.har...@gmail.com> wrote: > >> It could be you could slip in a small mod that

Re: [Numpy-discussion] ctypes and numpy

2009-11-07 Thread Trevor Clarke
ible... > > Zach > > > On Nov 6, 2009, at 10:18 PM, Chris Colbert wrote: > > > Are you bound to using ctypes as the only option? > > > > This could be done quite easily in Cython... > > > > On Fri, Nov 6, 2009 at 1:57 PM, Trevor Clarke > > wrote