We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The assert in the following example fails for some {x,y}:
{x,y}
using PatternT = typename dash::TilePattern<4>; using TiledMatrix = dash::Matrix<value_t, 4, dash::default_index_t, PatternT>; TiledMatrix A(num_blocks, num_blocks, // super-blocks dash::TILE(super_block_size), dash::TILE(super_block_size), block_size, block_size, dash::TILE(block_size), dash::TILE(block_size), ts); // global coordinates of the block {x, y} auto& pattern = A.pattern(); std::array<typename MatrixT::pattern_type::index_type, 4> gcoords = {x, y, 0, 0}; auto glob_idx = pattern.global_at(gcoords); assert(pattern.local_index(gcoords).unit.id == pattern.unit_at(glob_idx));
I believe that the output of pattern.local_index(gcoords).unit.id is correct and that TilePattern::unit_at is broken.
pattern.local_index(gcoords).unit.id
TilePattern::unit_at
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The assert in the following example fails for some
{x,y}
:I believe that the output of
pattern.local_index(gcoords).unit.id
is correct and thatTilePattern::unit_at
is broken.The text was updated successfully, but these errors were encountered: