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

#31, corrected code that was detected only when -DSW_EMU (hw build)


Former-commit-id: b61b9546
parent b6e7e602
......@@ -459,7 +459,7 @@ filled with clock() */
// IMPORTANT: enable this dummy global argument only for "hw" build.
// https://forums.xilinx.com/t5/SDAccel/ERROR-KernelCheck-83-114-in-sdx-2017-4/td-p/818135
cl::Buffer mem_dummy (context, CL_MEM_USE_HOST_PTR | CL_MEM_READ_ONLY, sizeof(int), cpu_dummy.data();
cl::Buffer mem_dummy (context, CL_MEM_USE_HOST_PTR | CL_MEM_READ_ONLY, sizeof(int), cpu_dummy.data());
#endif
// -----------------------------------------------------------------------------------------------------
......
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