24 enum class BackendIdx : std::uint8_t
54 static void set_warn_missing(
bool enabled);
62 warn_missing(operation, get_preferred_backend());
74 return BackendIdx::generic;
static PreferredBackend _preferred_backend
the currently preferred backend
static void warn_missing(const char *operation)
issues a warning about unsupported backend usage
static BackendIdx backend_to_index(PreferredBackend backend)
Helper function for idx mapping.
static bool _enable_warn_missing
missing backend warnings enabled/disabled
PreferredBackend
The backend that shall be used in all compute heavy calculations.