Open ubc-nvining opened 5 years ago
Is it the latest version, or the one that I have been using?
Both. I tried updating to the latest version with no luck.
If you think it would be of any help, I can take a look if you point me to the input data that trigger the assertion.
Hi,
unfortunately, I lack a WIndows/MSVC system to reproduce the issue; however, could you please check the following:
1) What is the SIMDWIDTH selected / reported for your system?
2) In what array is the out of bounds detected? packed_table
or m_packed_table
? You could e.g. look at the address valgrind returns and compare them with the address ranges of both arrays.
3) Are you getting a similar exception from std::fill(m_packed_table, m_packed_table + padded_size, 0);
(in the constructor)? This should access the same memory range -- if the problem is m_packed_table
.
Thanks!
Hi folks:
I'm trying to get this working in debug mode on MSVC 2017. Inside of void PairwiseTable<COSTTYPE, SIMDWIDTH>::set_costs(), an assert is being triggered in debug mode claiming an out of bounds operation from these lines here:
in Release mode, or even RelWithDebugInfo, this works fine.