Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/edgenai/memonitor
Query CPU and GPU memory information in a portable way.
https://github.com/edgenai/memonitor
Last synced: about 2 months ago
JSON representation
Query CPU and GPU memory information in a portable way.
- Host: GitHub
- URL: https://github.com/edgenai/memonitor
- Owner: edgenai
- License: apache-2.0
- Created: 2024-03-05T14:17:44.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-04-11T09:59:21.000Z (9 months ago)
- Last Synced: 2024-10-29T01:09:59.013Z (2 months ago)
- Language: Rust
- Size: 79.1 KB
- Stars: 2
- Watchers: 0
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# memonitor
[![License](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
[![Documentation](https://docs.rs/memonitor/badge.svg)](https://docs.rs/memonitor/)
[![Crate](https://img.shields.io/crates/v/memonitor.svg)](https://crates.io/crates/memonitor)---
**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:- [x] [sysinfo](https://crates.io/crates/sysinfo) (CPU only)
- [x] Vulkan
- [x] CUDA (NVIDIA devices only)
- [ ] ~~Metal (macOS only)~~ (planned [#2](https://github.com/edgenai/memonitor/issues/2))## Platforms
* Linux
* Windows
* macOS## Dependencies
* Clang
* CMake