mirror of
https://github.com/Lizonghang/prima.cpp.git
synced 2025-09-10 15:06:23 +00:00
add device get name
This commit is contained in:
parent
6657885816
commit
a7f3d917a1
3 changed files with 26 additions and 0 deletions
|
@ -4,6 +4,7 @@
|
|||
#include <string>
|
||||
|
||||
namespace profiler {
|
||||
const char * device_name();
|
||||
uint32_t device_cpu_cores();
|
||||
uint64_t device_physical_memory(bool available = true);
|
||||
uint64_t device_swap_memory(bool available = true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue