cuda-python icon indicating copy to clipboard operation
cuda-python copied to clipboard

Add a "tips & tricks" page

Open leofang opened this issue 2 months ago • 0 comments

  • many cuda.core operations do not actually need an active CUDA context (aka a device that is set to current)
    • some just need CUDA to be initialized, meaning cuInit(0) is called (ex: querying device properties)
    • some do not even need CUDA initialized or driver/GPU to be present, if the options are passed correctly (ex: JIT compiling via Program)
  • cuda.core keeps the context stack size to be either 0 or 1
  • ...

leofang avatar Nov 07 '25 22:11 leofang