blace.ai
|
This file contains some util functions and classes. More...
Go to the source code of this file.
Functions | |
EXPORT_OR_IMPORT std::filesystem::path | blace::util::getPathToExe () |
Get the path to the running executable. | |
EXPORT_OR_IMPORT std::optional< blace::ml_core::DeviceEnum > | blace::util::get_accelerator () |
Gets the available accelerator. CPU, CUDA or MPS. | |
This file contains some util functions and classes.
EXPORT_OR_IMPORT std::optional< blace::ml_core::DeviceEnum > blace::util::get_accelerator | ( | ) |
Gets the available accelerator. CPU, CUDA or MPS.
EXPORT_OR_IMPORT std::filesystem::path blace::util::getPathToExe | ( | ) |
Get the path to the running executable.