The CUDA python way of having texture objects #1436
-
|
I am now launching CUDA kernels using cupy as this package has the ability to create texture objects. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
My plan for texture/surface objects is just to move what I implemented in CuPy to cuda.core (#467), and perhaps make However, if you already have working CuPy code today that allocates texture objects, you should already be able to pass |
Beta Was this translation helpful? Give feedback.
My plan for texture/surface objects is just to move what I implemented in CuPy to cuda.core (#467), and perhaps make
cuda.core.launch()recognize these objects, similar to SMV that we discussed in the other issue.However, if you already have working CuPy code today that allocates texture objects, you should already be able to pass
tex_obj.ptrtocuda.core.launch()and reuse/launch the same C++ kernel that accepts a texture object. Let me know if it does not work for you!