Host API Utilities# 主机 API 实用程序#

Overview# 概述#

nvmath-python provides host-side APIs for managing device-side memory. nvmath-python 提供用于管理设备端内存的主机端 API。

API Reference# API 参考#

BaseCUDAMemoryManager(*args, **kwargs)

Protocol for memory manager plugins. 内存管理器插件的协议。

MemoryPointer(device_ptr, size, finalizer)

An RAII class for a device memory buffer. 用于设备内存缓冲区的 RAII 类。