Loading Documentation/Tutorials/Matrices/CMakeLists.txt +3 −3 Original line number Diff line number Diff line Loading @@ -104,9 +104,9 @@ ELSE() #### # THe following examples/benchmarks run for very long time ADD_EXECUTABLE( DenseMatrixSetup_Benchmark DenseMatrixSetup_Benchmark_cuda.cpp ) ADD_EXECUTABLE( SparseMatrixSetup_Benchmark SparseMatrixSetup_Benchmark_cuda.cpp ) ADD_EXECUTABLE( MultidiagonalMatrixSetup_Benchmark MultidiagonalMatrixSetup_Benchmark_cuda.cpp ) ADD_EXECUTABLE( DenseMatrixSetup_Benchmark DenseMatrixSetup_Benchmark.cpp ) ADD_EXECUTABLE( SparseMatrixSetup_Benchmark SparseMatrixSetup_Benchmark.cpp ) ADD_EXECUTABLE( MultidiagonalMatrixSetup_Benchmark MultidiagonalMatrixSetup_Benchmark.cpp ) ENDIF() IF( BUILD_CUDA ) Loading Documentation/Tutorials/Matrices/SparseMatrixSetup_Benchmark.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -69,7 +69,7 @@ template< typename Matrix > void setElement_on_host_and_transfer( const int gridSize, Matrix& matrix ) { using RealType = typename Matrix::RealType; using HostMatrix = typename Matrix::Self< RealType, TNL::Devices::Host >; using HostMatrix = typename Matrix::template Self< RealType, TNL::Devices::Host >; const int matrixSize = gridSize * gridSize; TNL::Containers::Vector< int, typename HostMatrix::DeviceType, int > rowCapacities( matrixSize, 5 ); Loading Loading
Documentation/Tutorials/Matrices/CMakeLists.txt +3 −3 Original line number Diff line number Diff line Loading @@ -104,9 +104,9 @@ ELSE() #### # THe following examples/benchmarks run for very long time ADD_EXECUTABLE( DenseMatrixSetup_Benchmark DenseMatrixSetup_Benchmark_cuda.cpp ) ADD_EXECUTABLE( SparseMatrixSetup_Benchmark SparseMatrixSetup_Benchmark_cuda.cpp ) ADD_EXECUTABLE( MultidiagonalMatrixSetup_Benchmark MultidiagonalMatrixSetup_Benchmark_cuda.cpp ) ADD_EXECUTABLE( DenseMatrixSetup_Benchmark DenseMatrixSetup_Benchmark.cpp ) ADD_EXECUTABLE( SparseMatrixSetup_Benchmark SparseMatrixSetup_Benchmark.cpp ) ADD_EXECUTABLE( MultidiagonalMatrixSetup_Benchmark MultidiagonalMatrixSetup_Benchmark.cpp ) ENDIF() IF( BUILD_CUDA ) Loading
Documentation/Tutorials/Matrices/SparseMatrixSetup_Benchmark.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -69,7 +69,7 @@ template< typename Matrix > void setElement_on_host_and_transfer( const int gridSize, Matrix& matrix ) { using RealType = typename Matrix::RealType; using HostMatrix = typename Matrix::Self< RealType, TNL::Devices::Host >; using HostMatrix = typename Matrix::template Self< RealType, TNL::Devices::Host >; const int matrixSize = gridSize * gridSize; TNL::Containers::Vector< int, typename HostMatrix::DeviceType, int > rowCapacities( matrixSize, 5 ); Loading