StanfordAHA / Halide-to-Hardware

Other
77 stars 12 forks source link

Unsharp cpp compute is out of date? #104

Closed dillonhuff closed 4 years ago

dillonhuff commented 4 years ago

@jeffsetter I'm trying to build a vanilla CPU unsharp and I'm getting the following error:

cmd: g++ -fstack-protector-all -std=c++11 regression_tb_unoptimized_unsharp.cpp unoptimized_unsharp.cpp
unoptimized_unsharp.cpp: In function ‘void op_hcompute_hw_input_stencil(HWStream<hw_uint<16> >&, hw_input_stencil_cache&, int, int, int, int)’:
unoptimized_unsharp.cpp:2142:24: error: ‘hcompute_hw_input_stencil’ was not declared in this scope
  auto compute_result = hcompute_hw_input_stencil(input_copy_stencil_hw_input_s0_x_c__hw_input_s0_y_c__hw_input_s0_c_value);
                        ^~~~~~~~~~~~~~~~~~~~~~~~~
unoptimized_unsharp.cpp:2142:24: note: suggested alternative: ‘op_hcompute_hw_input_stencil’
  auto compute_result = hcompute_hw_input_stencil(input_copy_stencil_hw_input_s0_x_c__hw_input_s0_y_c__hw_input_s0_c_value);
                        ^~~~~~~~~~~~~~~~~~~~~~~~~
                        op_hcompute_hw_input_stencil
clockwork: prog.cpp:2848: std::vector<std::__cxx11::basic_string<char> > run_regression_tb(const string&): Assertion `res == 0' failed.

Also I don't see unsharp_compute.json in coreir_compute.