Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.01 KB

README.md

File metadata and controls

31 lines (22 loc) · 1.01 KB

memonitor

License Documentation Crate


Memonitor is a lightweight library that allows querying information from various CPU and GPU devices. The main purpose is the ability to query memory related information, like how much local memory a device has and how much is currently available to be allocated.

This is achieved by dynamically loading, if present, various device APIs found in the system, and querying them directly. At the moment, the following backends are supported:

  • sysinfo (CPU only)
  • Vulkan
  • CUDA (NVIDIA devices only)
  • Metal (macOS only) (planned #2)

Platforms

  • Linux
  • Windows
  • macOS

Dependencies

  • Clang
  • CMake