Greetings. I see that float2 textures in CUDA are seamlessly filled by
complex64 Numpy arrays, but what Python representation should an array
have if I want to load it as a float4 texture? (I want a 1d texture.)

Would I create a 4Nx1 float32 array in Python in C (not Fortran)
ordering and use the ArrayDescriptor class with num_channels=4 and
then the Memcpy2D class ... ? doesn't sound right (I'll try it
though), so thanks for any advice!

Ahmed

_______________________________________________
PyCuda mailing list
[email protected]
http://tiker.net/mailman/listinfo/pycuda_tiker.net

Reply via email to