include/qpl/cpp_api/util/qpl_util.hpp
/**
 * @brief Maps high-level execution path to low-level one
 */
@brief Maps high-level execution path to low-level one
@brief Maps high - level execution path to low - level one
static inline auto execution_path_to_qpl_path(execution_path path) -> qpl_path_t {
    switch (path) {
        case execution_path::hardware: {
            return qpl_path_hardware;
        }
        case execution_path::software: {
            return qpl_path_software;
        }
        default: {
            return qpl_path_auto;
        }
    }
}
static inline auto execution_path_to_qpl_path ( execution_path path ) -> qpl_path_t { switch ( path ) { case execution_path :: hardware : { return qpl_path_hardware ; } case execution_path :: software : { return qpl_path_software ; } default : { return qpl_path_auto ; } } }
@brief Maps high-level execution path to low-level one
@brief Maps high - level execution path to low - level one