Skip to content

Commit

Permalink
[unit] [cuda] another disambiguation via at_ordinal
Browse files Browse the repository at this point in the history
  • Loading branch information
evaleev committed Sep 23, 2024
1 parent 7343ae6 commit df09400
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/expressions_device_um.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@ struct UMExpressionsFixture : public TiledRangeFixture {
template <typename Tile>
static Tile make_rand_tile(const typename TA::Range& r) {
Tile tile(r);
for (std::size_t i = 0ul; i < tile.size(); ++i) set_random(tile[i]);
for (std::size_t i = 0ul; i < tile.size(); ++i)
set_random(tile.at_ordinal(i));
return tile;
}

Expand Down

0 comments on commit df09400

Please sign in to comment.