Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FdmCompressedBlas3 bug in time_perfs_tests #279

Open
yangfengzzz opened this issue Dec 23, 2019 · 1 comment
Open

FdmCompressedBlas3 bug in time_perfs_tests #279

yangfengzzz opened this issue Dec 23, 2019 · 1 comment

Comments

@yangfengzzz
Copy link

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.

@doyubkim
Copy link
Owner

Let me double check the range. It is supposed to have a 1-width padding.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants