Impl::throw_runtime_exception("Requested too large league_size for TeamPolicy on Cuda execution space.");
// Make sure total block size is permissable
if(m_team_size*m_vector_length>1024){
Impl::throw_runtime_exception(std::string("Kokkos::TeamPolicy< Cuda > the team size is too large. Team size x vector length must be smaller than 1024."));
}
}
/** \brief Specify league size, request team size */
Impl::throw_runtime_exception("Requested too large league_size for TeamPolicy on Cuda execution space.");
// Make sure total block size is permissable
if(m_team_size*m_vector_length>1024){
Impl::throw_runtime_exception(std::string("Kokkos::TeamPolicy< Cuda > the team size is too large. Team size x vector length must be smaller than 1024."));
Impl::throw_runtime_exception("Kokkos::parallel_reduce with a TeamPolicy using a vector length of greater than 1 is not currently supported for CUDA for dynamic sized reduction types.");
if((m_team_size<32)&&!UseShflReduction)
Impl::throw_runtime_exception("Kokkos::parallel_reduce with a TeamPolicy using a team_size smaller than 32 is not currently supported with CUDA for dynamic sized reduction types.");
// Functor's reduce memory, team scan memory, and team shared memory depend upon team size.
Impl::throw_runtime_exception("Kokkos::parallel_reduce with a TeamPolicy using a vector length of greater than 1 is not currently supported for CUDA for dynamic sized reduction types.");
if((m_team_size<32)&&!UseShflReduction)
Impl::throw_runtime_exception("Kokkos::parallel_reduce with a TeamPolicy using a team_size smaller than 32 is not currently supported with CUDA for dynamic sized reduction types.");
// Functor's reduce memory, team scan memory, and team shared memory depend upon team size.