OpenVINO™ Toolkit
gpu
gpu_ocl_wrapper.hpp
1
// Copyright (C) 2018-2020 Intel Corporation
2
// SPDX-License-Identifier: Apache-2.0
3
//
4
5
/**
6
* @brief a header that defines wrappers for internal GPU plugin-specific
7
* OpenCL context and OpenCL shared memory blobs
8
*
9
* @file gpu_context_api_ocl.hpp
10
*/
11
#pragma once
12
13
/**
14
* @brief Definitions required by Khronos headers
15
*/
16
#define CL_HPP_ENABLE_EXCEPTIONS
17
#define CL_HPP_MINIMUM_OPENCL_VERSION 120
18
#define CL_HPP_TARGET_OPENCL_VERSION 120
19
20
#if defined __GNUC__
21
# pragma GCC system_header
22
#endif
23
24
#include <CL/cl2.hpp>