Closed gautham-ramesh closed 4 years ago
Hi,
cl.hpp
and cl2.hpp
cannot be interchanged that easily, so you need to revert that change. The problem you are facing comes from the fact that older GCC versions require an additional include to use std::unique_ptr
. You should be able to work around it with the following change:
--- a/shared/include/setup/fpga_setup.hpp
+++ b/shared/include/setup/fpga_setup.hpp
@@ -28,6 +28,7 @@ SOFTWARE.
#include <iomanip>
#include <chrono>
#include <fstream>
+#include <memory>
/* External libraries */
#include "CL/cl.hpp"
Thank you! This resolved the error.
Hi,
I am trying to build and test the RandomAccess benchmark for the Nallatech 520N card. After following the steps outlined in the README and running
make all
, I get the following output:Consequently, I made the following changes to the file "fpga_setup.hpp" located at "HPCC_FPGA/shared/include/setup/"
#define CL_HPP_TARGET_OPENCL_VERSION 120
#define CL_HPP_MINIMUM_OPENCL_VERSION 120
#include "CL/cl.hpp"
to#include "CL/cl2.hpp"
Ran the
make clean && make all
to get this output:I am unable to figure out the solution to this error. Please help me.
Relevant details: OS: CentOS Linux 7 Cmake version: 3.17.3 Python3 not installed