3affa3355f6892b166274cb1e0c0f80bdff5a3d9
[platform/upstream/dldt.git] / inference-engine / thirdparty / clDNN / src / gpu / engine_info.h
1 // Copyright (c) 2016 Intel Corporation
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 //      http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14
15 #pragma once
16 #include <cstdint>
17 #include <memory>
18 #include "api/engine.hpp"
19 #include "document.h"
20 #include <string>
21
22 namespace cldnn {
23 namespace gpu {
24
25 class gpu_toolkit;
26 struct engine_info_internal : cldnn::engine_info {
27     std::string dev_id;
28     std::uint32_t compute_units_count;
29     std::shared_ptr<rapidjson::Document> device_cache;
30
31 private:
32     friend class gpu_toolkit;
33     explicit engine_info_internal(const gpu_toolkit& context);
34 };
35
36 }  // namespace gpu
37 }  // namespace cldnn