Skip to main content

Mojo module

nvml

Implements wrappers around the NVIDIA Management Library (nvml).

comptime values

CUDA_NVML_LIBRARY

comptime CUDA_NVML_LIBRARY = _Global["CUDA_NVML_LIBRARY", _init_dylib]

CUDA_NVML_LIBRARY_BASE_NAME

comptime CUDA_NVML_LIBRARY_BASE_NAME = "libnvidia-ml"

CUDA_NVML_LIBRARY_DIR

comptime CUDA_NVML_LIBRARY_DIR = "/usr/lib/x86_64-linux-gnu"

CUDA_NVML_LIBRARY_EXT

comptime CUDA_NVML_LIBRARY_EXT = ".so"

OpaquePointer

comptime OpaquePointer = LegacyUnsafePointer[NoneType]

UnsafePointer

comptime UnsafePointer = LegacyUnsafePointer[?, address_space=?, origin=?]

Structs

Was this page helpful?