PLSSVM - Parallel Least Squares Support Vector Machine
2.0.0
A Least Squares Support Vector Machine implementation using different backends.
|
Implements compile-time constants to query the current library version. More...
#include <optional>
#include <string>
#include <string_view>
Go to the source code of this file.
Namespaces | |
plssvm | |
The main namespace containing all public API functions. | |
plssvm::version | |
Namespace containing versioning information. | |
Functions | |
std::optional< std::string > | plssvm::version::detail::get_git_info () |
Special git information used in the --version message. More... | |
std::string | plssvm::version::detail::get_version_info (std::string_view executable_name, bool with_backend_info=true) |
The full content used for the --version message. More... | |
Variables | |
constexpr std::string_view | plssvm::version::name = "PLSSVM - Parallel Least Squares Support Vector Machine" |
The name of the library. More... | |
constexpr std::string_view | plssvm::version::version = "2.0.0" |
The current version of the library in the form: "major.minor.patch". More... | |
constexpr int | plssvm::version::major = 2 |
The current major version of the library. More... | |
constexpr int | plssvm::version::minor = 0 |
The current minor version of the library. More... | |
constexpr int | plssvm::version::patch = 0 |
The current patch version of the library. More... | |
constexpr std::string_view | plssvm::version::detail::target_platforms = "cpu" |
The provided target platforms to use. More... | |
constexpr std::string_view | plssvm::version::detail::copyright_notice |
The copyright notice of the PLSSVM library. More... | |
Implements compile-time constants to query the current library version.
std::optional<std::string> plssvm::version::detail::get_git_info | ( | ) |
Special git information used in the --version
message.
If no git could be found, returns a std::nullopt
[[nodiscard]]
) std::string plssvm::version::detail::get_version_info | ( | std::string_view | executable_name, |
bool | with_backend_info = true |
||
) |
The full content used for the --version
message.
Contains the executable name, library version, git information, available target platforms, backends, and SYCL implementations (if applicable), and the copyright notice.
[in] | executable_name | the name of the executable to generate the --version message for |
[in] | with_backend_info | if true , also includes backend specific information in the version message |
--version
message ([[nodiscard]]
)
|
constexpr |
The provided target platforms to use.
The value gets automatically set during the CMake
configuration step.
|
constexpr |
The copyright notice of the PLSSVM library.