Skip to content

Issues with dynamic stores/loads #140

Description

@jeffsetter

I tried making a histogram test, but am having issues with the unoptimized version running. The error I encounter is:

bin/unoptimized_histogram.cpp: In function ‘void op_hcompute_histogram_stencil_1(bin_stencil_cache&, histogram_stencil_cache&, int, int, int, int)’:
bin/unoptimized_histogram.cpp:450:114: error: invalid initialization of reference of type ‘hw_uint<16>&’ from expression of type ‘hw_uint<64>’
  auto compute_result = hcompute_histogram_stencil_1(bin_stencil_histogram_s1_r_x_value, histogram_stencil_0_value);
                                                                                                                  ^
In file included from bin/unoptimized_histogram.cpp:10:0:
bin/histogram_compute.h:28:13: note: in passing argument 1 of ‘hw_uint<16> hcompute_histogram_stencil_1(hw_uint<16>&)’
 hw_uint<16> hcompute_histogram_stencil_1(hw_uint<16>& histogram_stencil) {
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
At global scope:
cc1plus: warning: unrecognized command line option ‘-Wno-unknown-warning-option’
../../hw_support/hardware_targets.mk:151: recipe for target 'bin/unoptimized_histogram.o' failed
make[1]: *** [bin/unoptimized_histogram.o] Error 1
make[1]: Leaving directory '/nobackup/setter/h2h/hwbuffer/polyir/apps/hardware_benchmarks/tests/histogram'
../../hw_support/hardware_targets.mk:331: recipe for target 'bin/output_clockwork.png' failed
make: *** [bin/output_clockwork.png] Error 2

Attached are the files that I used to create the histogram test.
histogram_compute.txt
histogram_memory.txt

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions