Stokhos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TestSpMv_Cuda.cpp
Go to the documentation of this file.
1 // @HEADER
2 // *****************************************************************************
3 // Stokhos Package
4 //
5 // Copyright 2009 NTESS and the Stokhos contributors.
6 // SPDX-License-Identifier: BSD-3-Clause
7 // *****************************************************************************
8 // @HEADER
9 
10 // Tests
11 #include "TestSpMv.hpp"
14 
15 // Devices
16 #include "Kokkos_Core.hpp"
17 
18 template <typename Storage>
19 void mainCuda(int nGrid, int nIter, KokkosSparse::DeviceConfig dev_config) {
20  const int entry_min = 16;
21  const int entry_max = 64;
22  const int entry_step = 16;
23  performance_test_driver<Storage,entry_min,entry_max,entry_step>(
24  nGrid,nIter,dev_config);
25 }
26 
27 template void mainCuda< Stokhos::StaticFixedStorage<int,double,1,Kokkos::Cuda> >(int nGrid, int nIter, KokkosSparse::DeviceConfig dev_config);
void mainCuda(const Teuchos::RCP< const Teuchos::Comm< int > > &comm, const int use_print, const int use_trials, const int use_nodes[], const bool check, Kokkos::Example::FENL::DeviceConfig dev_config)