Browse Source

set the correct sum check which was inverted by querry type

master
Constantin Fürst 11 months ago
parent
commit
845e812ca7
  1. 2
      qdp_project/src/Benchmark.cpp

2
qdp_project/src/Benchmark.cpp

@ -346,7 +346,7 @@ int main() {
const auto time_end = std::chrono::steady_clock::now();
const uint64_t result_actual = DATA_DST_[0];
const uint64_t result_expected = COMPLEX_QUERY ? sum_check(CMP_A, DATA_A_, DATA_B_, WL_SIZE_B) : sum_check_complex(CMP_A, CMP_B, DATA_A_, DATA_B_, WL_SIZE_B);
const uint64_t result_expected = COMPLEX_QUERY ? sum_check_complex(CMP_A, CMP_B, DATA_A_, DATA_B_, WL_SIZE_B) : sum_check(CMP_A, DATA_A_, DATA_B_, WL_SIZE_B);
std::cout << "Result Expected: " << result_expected << ", Result Actual: " << result_actual << std::endl;

Loading…
Cancel
Save