Skip to content

Commit

Permalink
Fixes #493: launch_config_builder_t::overall_size() now takes a `gr…
Browse files Browse the repository at this point in the history
…id::overall_dimension_t` rather than a `grid::dimension_t`
  • Loading branch information
eyalroz committed Apr 29, 2023
1 parent 7d8cc17 commit 7fae59b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/cuda/api/launch_config_builder.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -453,14 +453,14 @@ class launch_config_builder_t {
return *this;
}
launch_config_builder_t& overall_dimensions(
grid::dimension_t x,
grid::dimension_t y = 1,
grid::dimension_t z = 1)
grid::overall_dimension_t x,
grid::overall_dimension_t y = 1,
grid::overall_dimension_t z = 1)
{
return overall_dimensions(grid::overall_dimensions_t{x, y, z});
}

launch_config_builder_t& overall_size(grid::dimension_t size) { return overall_dimensions(size, 1, 1); }
launch_config_builder_t& overall_size(grid::overall_dimension_t size) { return overall_dimensions(size, 1, 1); }

launch_config_builder_t& block_cooperation(bool cooperation)
{
Expand Down

0 comments on commit 7fae59b

Please sign in to comment.