25 printf(
"Open device\n");
32 cl::Context context_i(
device );
41 cl::Program program_i(
context, devices, bins);
int GetStrFromCommnadLine(int argc, char **argv, const char *name, char *defValue, char *dst, int dstLen)
Get string value from command line.
cl::Program program
OpenCL program.
std::vector< cl::Device > get_xil_devices()
TF_Device(int argc, char **argv)
cl::Context context
OpenCL context.
std::string xclbinFileName
file name for container
cl::Program::Binaries import_binary_file(std::string xclbin_file_name)
cl::Device device
OpenCL device.
std::string deviceName
OpenCL device name.