FdmCompressedBlas3 bug in time_perfs_tests
yangfengzzz opened this issue · comments
yangfengzzz commented
in buidSystem func:
const size_t cIdx = acc.index(i, j, k); const size_t lIdx = acc.index(i - 1, j, k); const size_t rIdx = acc.index(i + 1, j, k); const size_t dIdx = acc.index(i, j - 1, k); const size_t uIdx = acc.index(i, j + 1, k); const size_t bIdx = acc.index(i, j, k - 1); const size_t fIdx = acc.index(i, j, k + 1)
size_t is an unsigned type, 0-1 != -1 will cause the wrong results.
Doyub Kim commented
Let me double check the range. It is supposed to have a 1-width padding.