Skip to content

Latest commit

 

History

History
103 lines (75 loc) · 2.02 KB

File metadata and controls

103 lines (75 loc) · 2.02 KB
.. module:: cuda.core

cuda.core API Reference

This is the main API reference for cuda.core. The package has not yet reached version 1.0.0, and APIs may change between minor versions, possibly without deprecation warnings. Once version 1.0.0 is released, APIs will be considered stable and will follow semantic versioning with appropriate deprecation periods for breaking changes.

CUDA runtime

.. autosummary::
   :toctree: generated/

   Device
   Graph
   GraphBuilder
   launch
   Buffer
   Stream
   Event
   MemoryResource
   DeviceMemoryResource
   GraphMemoryResource
   PinnedMemoryResource
   ManagedMemoryResource
   LegacyPinnedMemoryResource
   VirtualMemoryResource

   :template: dataclass.rst

   DeviceMemoryResourceOptions
   PinnedMemoryResourceOptions
   ManagedMemoryResourceOptions
   EventOptions
   GraphCompleteOptions
   GraphDebugPrintOptions
   StreamOptions
   LaunchConfig
   VirtualMemoryResourceOptions


CUDA compilation toolchain

.. autosummary::
   :toctree: generated/

   Program
   Linker
   ObjectCode
   Kernel

   :template: dataclass.rst

   ProgramOptions
   LinkerOptions


CUDA system information and NVIDIA Management Library (NVML)

.. autosummary::
   :toctree: generated/

   system.get_driver_version
   system.get_driver_version_full
   system.get_num_devices
   system.get_nvml_version
   system.get_process_name

   :template: autosummary/cyclass.rst

   system.Device
   system.DeviceArchitecture
   system.FieldId
   system.FieldValue
   system.FieldValues
   system.MemoryInfo
   system.BAR1MemoryInfo
   system.PciInfo


.. module:: cuda.core.utils

Utility functions

.. autosummary::
   :toctree: generated/

   args_viewable_as_strided_memory

   :template: autosummary/cyclass.rst

   StridedMemoryView