Download modules/gapi/src/streaming/onevpl/cfg_param_device_selector.hpp from tgollogly/test: direct link, hf CLI and curl.
- Browser
- Download file 1.75 kB
-
https://huggingface.co/tgollogly/test/resolve/main/modules/gapi/src/streaming/onevpl/cfg_param_device_selector.hpp
- Command line
-
hf download hf://tgollogly/test/modules/gapi/src/streaming/onevpl/cfg_param_device_selector.hpp
-
curl -L -o cfg_param_device_selector.hpp https://huggingface.co/tgollogly/test/resolve/main/modules/gapi/src/streaming/onevpl/cfg_param_device_selector.hpp
1.75 kB
| // This file is part of OpenCV project. | |
| // It is subject to the license terms in the LICENSE file found in the top-level directory | |
| // of this distribution and at http://opencv.org/license.html. | |
| // | |
| // Copyright (C) 2021 Intel Corporation | |
| namespace cv { | |
| namespace gapi { | |
| namespace wip { | |
| namespace onevpl { | |
| struct PlatformSpecificParams; | |
| std::vector<CfgParam> update_param_with_accel_type(std::vector<CfgParam> &¶m_array, AccelType type); | |
| struct GAPI_EXPORTS CfgParamDeviceSelector final: public IDeviceSelector { | |
| CfgParamDeviceSelector(const CfgParams& params = {}); | |
| CfgParamDeviceSelector(Device::Ptr device_ptr, | |
| const std::string& device_id, | |
| Context::Ptr ctx_ptr, | |
| const CfgParams& params); | |
| CfgParamDeviceSelector(const Device &device_ptr, | |
| const Context &ctx_ptr, | |
| CfgParams params); | |
| ~CfgParamDeviceSelector(); | |
| DeviceScoreTable select_devices() const override; | |
| DeviceContexts select_context() override; | |
| private: | |
| Device suggested_device; | |
| Context suggested_context; | |
| std::unique_ptr<PlatformSpecificParams> platform_specific_data; | |
| }; | |
| } // namespace onevpl | |
| } // namespace wip | |
| } // namespace gapi | |
| } // namespace cv | |