memonitor

Crates.iomemonitor
lib.rsmemonitor
version0.2.4
sourcesrc
created_at2024-03-08 16:53:47.264923
updated_at2024-04-11 10:02:31.584972
descriptionQuery CPU and GPU memory information in a portable way.
homepage
repositoryhttps://github.com/edgenai/memonitor
max_upload_size
id1167103
size28,933
Edgen (edgen-bot)

documentation

README

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
Commit count: 61

cargo fmt