Compute Library
 20.08
OpenCL.h File Reference
#include <string>
#include <utility>
#include <CL/cl2.hpp>

Go to the source code of this file.

Data Structures

class  CLSymbols
 Class for loading OpenCL symbols. More...
 

Namespaces

 cl
 
 arm_compute
 Copyright (c) 2017-2020 Arm Limited.
 

Macros

#define CL_HPP_ENABLE_EXCEPTIONS
 
#define CL_TARGET_OPENCL_VERSION   200
 
#define CL_HPP_TARGET_OPENCL_VERSION   110
 
#define CL_HPP_MINIMUM_OPENCL_VERSION   110
 
#define DECLARE_FUNCTION_PTR(func_name)   std::function<decltype(func_name)> func_name##_ptr = nullptr
 

Functions

bool opencl_is_available ()
 Check if OpenCL is available. More...
 

Macro Definition Documentation

◆ CL_HPP_ENABLE_EXCEPTIONS

#define CL_HPP_ENABLE_EXCEPTIONS

Definition at line 32 of file OpenCL.h.

◆ CL_HPP_MINIMUM_OPENCL_VERSION

#define CL_HPP_MINIMUM_OPENCL_VERSION   110

Definition at line 36 of file OpenCL.h.

◆ CL_HPP_TARGET_OPENCL_VERSION

#define CL_HPP_TARGET_OPENCL_VERSION   110

Definition at line 35 of file OpenCL.h.

◆ CL_TARGET_OPENCL_VERSION

#define CL_TARGET_OPENCL_VERSION   200

Definition at line 34 of file OpenCL.h.

◆ DECLARE_FUNCTION_PTR

#define DECLARE_FUNCTION_PTR (   func_name)    std::function<decltype(func_name)> func_name##_ptr = nullptr

Definition at line 89 of file OpenCL.h.