check transfer  0.1
Check data transfer for SDAccell OpenCL application
Classes | Namespaces | Macros | Functions
xcl2.hpp File Reference
#include <CL/cl2.hpp>
#include <iostream>
#include <fstream>

Go to the source code of this file.

Classes

struct  aligned_allocator< T >
 

Namespaces

 xcl
 

Macros

#define CL_HPP_CL_1_2_DEFAULT_BUILD
 
#define CL_HPP_ENABLE_PROGRAM_CONSTRUCTION_FROM_ARRAY_COMPATIBILITY   1
 
#define CL_HPP_MINIMUM_OPENCL_VERSION   120
 
#define CL_HPP_TARGET_OPENCL_VERSION   120
 

Functions

std::string xcl::find_binary_file (const std::string &_device_name, const std::string &xclbin_name)
 
std::vector< cl::Device > xcl::get_devices (const std::string &vendor_name)
 
std::vector< cl::Device > xcl::get_xil_devices ()
 
cl::Program::Binaries xcl::import_binary_file (std::string xclbin_file_name)
 
bool xcl::is_emulation ()
 
bool xcl::is_hw_emulation ()
 

Macro Definition Documentation

◆ CL_HPP_CL_1_2_DEFAULT_BUILD

#define CL_HPP_CL_1_2_DEFAULT_BUILD

Definition at line 33 of file xcl2.hpp.

◆ CL_HPP_ENABLE_PROGRAM_CONSTRUCTION_FROM_ARRAY_COMPATIBILITY

#define CL_HPP_ENABLE_PROGRAM_CONSTRUCTION_FROM_ARRAY_COMPATIBILITY   1

Definition at line 36 of file xcl2.hpp.

◆ CL_HPP_MINIMUM_OPENCL_VERSION

#define CL_HPP_MINIMUM_OPENCL_VERSION   120

Definition at line 35 of file xcl2.hpp.

◆ CL_HPP_TARGET_OPENCL_VERSION

#define CL_HPP_TARGET_OPENCL_VERSION   120

Definition at line 34 of file xcl2.hpp.