DPC++ Runtime
Runtime libraries for oneAPI DPC++
cl.h
Go to the documentation of this file.
1
//==---------------- cl.h - Include OpenCL headers -------------------------==//
2
//
3
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4
// See https://llvm.org/LICENSE.txt for license information.
5
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6
//
7
//===----------------------------------------------------------------------===//
8
9
#pragma once
10
11
// Suppress a compiler message about undefined CL_TARGET_OPENCL_VERSION
12
// and define all symbols up to OpenCL 3.0
13
#ifndef CL_TARGET_OPENCL_VERSION
14
#define CL_TARGET_OPENCL_VERSION 300
15
#endif
16
17
#include <CL/cl.h>
18
#include <CL/cl_ext.h>
include
sycl
detail
cl.h
Generated by
1.8.17