Kokkos lib update
This commit is contained in:
@ -61,8 +61,7 @@ struct TestDynamicView
|
||||
typedef typename Space::execution_space execution_space ;
|
||||
typedef typename Space::memory_space memory_space ;
|
||||
|
||||
typedef Kokkos::Experimental::MemoryPool< memory_space , execution_space >
|
||||
memory_pool_type ;
|
||||
typedef Kokkos::Experimental::MemoryPool<typename Space::device_type> memory_pool_type;
|
||||
|
||||
typedef Kokkos::Experimental::DynamicView<Scalar*,Space> view_type;
|
||||
|
||||
@ -129,11 +128,9 @@ struct TestDynamicView
|
||||
typedef Kokkos::TeamPolicy<execution_space,TEST> TestPolicy ;
|
||||
typedef Kokkos::TeamPolicy<execution_space,VERIFY> VerifyPolicy ;
|
||||
|
||||
const unsigned int chunk_size = 1024 ;
|
||||
|
||||
// printf("TestDynamicView::run(%d) construct memory pool\n",arg_total_size);
|
||||
|
||||
memory_pool_type pool( memory_space() , chunk_size , arg_total_size * sizeof(Scalar) );
|
||||
memory_pool_type pool( memory_space() , arg_total_size * sizeof(Scalar) * 1.2 );
|
||||
|
||||
// printf("TestDynamicView::run(%d) construct dynamic view\n",arg_total_size);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user