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

removed unnecessary clBuildProgram

parent 99431df9
......@@ -1836,11 +1836,12 @@ bool init() {
std::string binary_file = getBoardBinaryFile("Krnl_GA", device);
printf("Using XCLBIN: %s\n", binary_file.c_str());
program = createProgramFromBinary(context, binary_file.c_str(), &device, 1);
// Build the program that was just created.
status = clBuildProgram(program, 0, NULL, "", NULL, NULL);
checkError(status, "Failed to build program");
// Commenting out single out-of-order command queue design for lga-sdx174.
// As a valid alternative, multiple in-order command queues are used
// to individualize kernels from their command queues
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