0b6e38cbc80be6d23a9a4bed0d03d33d04dc46b1
[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
16 #pragma once
17 #include <cstdint>
18 #include <memory>
19 #include "api/CPP/engine.hpp"
20 #include "document.h"
21 #include <string>
22
23 namespace cldnn {
24 namespace gpu {
25
26 class gpu_toolkit;
27 struct engine_info_internal : cldnn::engine_info {
28     std::string dev_id;
29     std::string driver_version;
30     std::string dev_name;
31     std::uint32_t compute_units_count;
32     std::shared_ptr<rapidjson::Document> device_cache;
33
34 private:
35     friend class gpu_toolkit;
36     explicit engine_info_internal(const gpu_toolkit& context);
37 };
38
39 }  // namespace gpu
40 }  // namespace cldnn