Skip to content

Conversation

@bimalgaudel
Copy link
Member

Update the volume(DistArray<Tile,Policy>) function to support sparse arrays as well as arrays with tensor-of-tensor tiles.

@bimalgaudel bimalgaudel marked this pull request as ready for review June 25, 2024 19:50
@bimalgaudel bimalgaudel requested a review from evaleev June 25, 2024 19:50
vol += in_tile.total_size();
};

for (auto&& tix : array.tiles_range())
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for(tidx: tiles_range)
  if (array.is_local(tidx) && ~array.is_zero(tidx)) {

is equivalent to

for(auto&& local_tile_future: array) {

replace please

@bimalgaudel bimalgaudel merged commit e8ab5e2 into master Jun 25, 2024
@bimalgaudel bimalgaudel deleted the gaudel/refactor/volume_function branch June 25, 2024 23:42
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

Successfully merging this pull request may close these issues.

3 participants