Commit a7bb82d9 authored by Leonardo Solis's avatar Leonardo Solis
Browse files

correct printf messages to SDAccel (instead of AOCX)


Former-commit-id: 800917fb
parent dae88aa1
......@@ -2581,8 +2581,13 @@ bool init() {
/*
std::string binary_file = getBoardBinaryFile("docking", device);
*/
std::string binary_file = getBoardBinaryFile("Krnl_GA", device);
printf("Using AOCX: %s\n", binary_file.c_str());
std::string binary_file = getBoardBinaryFile("Krnl_GA", device);
/*
printf("Using AOCX: %s\n", binary_file.c_str());
*/
printf("Using XCLBIN: %s\n", binary_file.c_str());
program = createProgramFromBinary(context, binary_file.c_str(), &device, 1);
......@@ -2595,8 +2600,8 @@ bool init() {
command_queue = clCreateCommandQueue(context, device, CL_QUEUE_PROFILING_ENABLE | CL_QUEUE_OUT_OF_ORDER_EXEC_MODE_ENABLE, &status);
checkError(status, "Failed to create command queue");
// Create the kernel - name passed in here must match kernel name in the
// original CL file, that was compiled into an AOCX file using the AOC tool
// Create the kernel - name passed in here must match kernel name in the
// original CL file, that was compiled into an XCLBIN file using the SDAccel tool
#ifdef ENABLE_KERNEL1
/*
command_queue1 = clCreateCommandQueue(context, device, 0, &status);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment