NVIDIA / cuda-python

CUDA Python Low-level Bindings
https://nvidia.github.io/cuda-python/
Other
982 stars 76 forks source link

EPIC: Support TMA descriptor #199

Open leofang opened 3 weeks ago

leofang commented 3 weeks ago

Initializing a TMA descriptor through the driver APIs https://docs.nvidia.com/cuda/cuda-driver-api/group__CUDA__TENSOR__MEMORY.html is really tedious and error prone. We need a way to abstract it out, which aligns well with the mission of cuda.core. This also allows JIT compilers to easier consume and incorporate into the compilation pipelines.

In my understanding there are two (implicit?) requirements for this to be useful:

  1. Creating/initializing a TMA object on host
  2. Passing the object to the cuda.core.launch() API as a kernel arg
leofang commented 3 weeks ago

(Tentatively set to beta 3.)