[Gpundarray] as_{contiguous,fortran}array and opencl
Arnaud Bergeron
abergeron at gmail.com
Wed Nov 16 13:17:41 PST 2011
Le 16 novembre 2011 16:15, Frédéric Bastien <nouiz at nouiz.org> a écrit :
> Hi,
>
> Arnaud, your fix to the current version of the copy generate 3 error
> with a good error message. The 4th is still an error as it returned a
> wrong answer. This case is when the input is a c contiguous memory and
> the output is a f contiguous memory. As you just check if both are one
> segment, you don't cover that case. I added the check for that case
> and pushed both commit to the trunk.
>
> Andreas, the GpuNdArrayObject currently how a ptr to the cl_mem. We
> could use the create_buffer() in wrap_cl.hpp, but I don't see how this
> will fix the problem. We still have only the cl_mem object available
> from python. Any idea? Arnaud, can I let you do this? I will be able
> to start work on the reduction. Do I commit now my half finished work?
I can look at it and try, if you commit what you have.
> Fred
>
More information about the Gpundarray
mailing list