Re: [PyCUDA] 3D rotation on PyCuda

2017-08-25 Thread Andreas Kloeckner
ghum writes: > copy(aligned=True) > > return ary > > Is there another way to generate a 3D pycuda texture? Or maybe I am close to > fix the issue, for now I am getting the following error: > > Boost.Python.ArgumentError: Python argument types in >

[PyCUDA] 3D rotation on PyCuda

2017-08-25 Thread ghum
Hi, I am trying to extend the sample code for 2D rotation from https://wiki.tiker.net/PyCuda/Examples/Rotate to 3D. Equation #2 on http://mathworld.wolfram.com/RotationMatrix.html represents the sample implementation, I implemented equations #3, #4 and #5 to make it work with 3D data. Here is