check transfer
0.1
Check data transfer for SDAccell OpenCL application
|
common data for OpenCL device More...
#include <tf_device.h>
Public Member Functions | |
TF_Device (int argc, char **argv) | |
virtual | ~TF_Device () |
Public Attributes | |
cl::Context | context |
OpenCL context. More... | |
cl::Device | device |
OpenCL device. More... | |
std::string | deviceName |
OpenCL device name. More... | |
cl::Program | program |
OpenCL program. More... | |
std::string | xclbinFileName |
file name for container More... | |
common data for OpenCL device
Definition at line 17 of file tf_device.h.
TF_Device::TF_Device | ( | int | argc, |
char ** | argv | ||
) |
argc | Number of arguments argv Pointer of argumnts |
Arguments:
-file <path> : fullpath for xclbin, default "../binary_container_1.xclbin"
Definition at line 21 of file tf_device.cpp.
References context, device, deviceName, xcl::get_xil_devices(), GetStrFromCommnadLine(), xcl::import_binary_file(), program, and xclbinFileName.
|
virtual |
Definition at line 49 of file tf_device.cpp.
cl::Context TF_Device::context |
OpenCL context.
Definition at line 27 of file tf_device.h.
Referenced by TF_CheckTransferIn::PrepareInThread(), TF_CheckTransferOut::PrepareInThread(), and TF_Device().
cl::Device TF_Device::device |
OpenCL device.
Definition at line 26 of file tf_device.h.
Referenced by TF_CheckTransferIn::PrepareInThread(), TF_CheckTransferOut::PrepareInThread(), and TF_Device().
std::string TF_Device::deviceName |
cl::Program TF_Device::program |
OpenCL program.
Definition at line 28 of file tf_device.h.
Referenced by TF_CheckTransferIn::PrepareInThread(), TF_CheckTransferOut::PrepareInThread(), and TF_Device().
std::string TF_Device::xclbinFileName |