Skip to content

Commit

Permalink
fix of fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mperego committed Sep 26, 2024
1 parent d5a9460 commit 59359a4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ namespace Intrepid2 {
ordinal_type team_size = teamPolicy.team_size_recommended(functor, Kokkos::ParallelForTag());
*outStream << "Max Recommended team size: " << team_size << ", Requested team size: " << numPoints <<std::endl;
team_size = std::min(team_size, numPoints);
teamPolicy = Kokkos::TeamPolicy<typename DeviceType::execution_space>(numCells, team_size,vectorSize);
teamPolicy = Kokkos::TeamPolicy<typename DeviceType::execution_space>(ncells, team_size,vectorSize);

//Get the required size of the scratch space per team and per thread.
int perThreadSpaceSize(0), perTeamSpaceSize(0);
Expand All @@ -117,7 +117,7 @@ namespace Intrepid2 {
ordinal_type team_size = teamPolicy.team_size_recommended(functor, Kokkos::ParallelForTag());
*outStream << "Max Recommended team size: " << team_size << ", Requested team size: " << numPoints <<std::endl;
team_size = std::min(team_size, numPoints);
teamPolicy = Kokkos::TeamPolicy<typename DeviceType::execution_space>(numCells, team_size,vectorSize);
teamPolicy = Kokkos::TeamPolicy<typename DeviceType::execution_space>(ncells, team_size,vectorSize);

//Get the required size of the scratch space per team and per thread.
int perThreadSpaceSize(0), perTeamSpaceSize(0);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ namespace Intrepid2 {
ordinal_type team_size = teamPolicy.team_size_recommended(functor, Kokkos::ParallelForTag());
*outStream << "Max Recommended team size: " << team_size << ", Requested team size: " << numPoints <<std::endl;
team_size = std::min(team_size, numPoints);
teamPolicy = Kokkos::TeamPolicy<typename DeviceType::execution_space>(numCells, team_size,vectorSize);
teamPolicy = Kokkos::TeamPolicy<typename DeviceType::execution_space>(ncells, team_size,vectorSize);

//Get the required size of the scratch space per team and per thread.
int perThreadSpaceSize(0), perTeamSpaceSize(0);
Expand All @@ -117,7 +117,7 @@ namespace Intrepid2 {
ordinal_type team_size = teamPolicy.team_size_recommended(functor, Kokkos::ParallelForTag());
*outStream << "Max Recommended team size: " << team_size << ", Requested team size: " << numPoints <<std::endl;
team_size = std::min(team_size, numPoints);
teamPolicy = Kokkos::TeamPolicy<typename DeviceType::execution_space>(numCells, team_size,vectorSize);
teamPolicy = Kokkos::TeamPolicy<typename DeviceType::execution_space>(ncells, team_size,vectorSize);

//Get the required size of the scratch space per team and per thread.
int perThreadSpaceSize(0), perTeamSpaceSize(0);
Expand Down

0 comments on commit 59359a4

Please sign in to comment.