Skip to content

Query CPU and GPU memory information in a portable way.

License

Notifications You must be signed in to change notification settings

edgenai/memonitor

Repository files navigation

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

About

Query CPU and GPU memory information in a portable way.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published