Skip to content

Commit

Permalink
Fix MSVC issue with local variable hiding a global
Browse files Browse the repository at this point in the history
  • Loading branch information
pciolkosz committed May 15, 2024
1 parent b9f7ed5 commit 84e9a83
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cudax/test/hierarchy/hierarchy_smoke.cu
Original file line number Diff line number Diff line change
Expand Up @@ -479,9 +479,9 @@ TEST_CASE("Examples", "[hierarchy]")
REQUIRE(block_dimensions.z == 8);
}
{
auto hierarchy = make_hierarchy(grid_dims(16), block_dims<8, 8, 8>());
auto [grid, block] = get_launch_dimensions(hierarchy);
examples_kernel<<<grid, block>>>(hierarchy);
auto hierarchy = make_hierarchy(grid_dims(16), block_dims<8, 8, 8>());
auto [grid_dimensions, block_dimensions] = get_launch_dimensions(hierarchy);
examples_kernel<<<grid_dimensions, block_dimensions>>>(hierarchy);
CUDART(cudaGetLastError());
CUDART(cudaDeviceSynchronize());
}
Expand Down

0 comments on commit 84e9a83

Please sign in to comment.