129 const int vector_lanes_per_thread = -1)
const {
132 Kokkos::TeamPolicy<execution_space> tp;
133 if (threads_per_team>0 && vector_lanes_per_thread>0) {
134 tp = Kokkos::TeamPolicy<execution_space>(batch_size, threads_per_team, vector_lanes_per_thread);
135 }
else if (threads_per_team>0) {
139 tp = Kokkos::TeamPolicy<execution_space>(batch_size, threads_per_team, Kokkos::AUTO);
141 }
else if (vector_lanes_per_thread>0) {
143 tp = Kokkos::TeamPolicy<execution_space>(batch_size,
_environment_threads, vector_lanes_per_thread);
145 tp = Kokkos::TeamPolicy<execution_space>(batch_size, Kokkos::AUTO, vector_lanes_per_thread);
155 tp = Kokkos::TeamPolicy<execution_space>(batch_size, Kokkos::AUTO, Kokkos::AUTO);