Loading src/TNL/Solvers/ODE/Euler_impl.h +2 −1 Original line number Diff line number Diff line Loading @@ -195,8 +195,9 @@ void Euler< Problem > :: computeNewTimeLevel( DofVectorPointer& u, const IndexType sharedMemory = cudaBlockSize.x * sizeof( RealType ); const IndexType gridOffset = gridIdx * threadsPerGrid; const IndexType currentSize = min( size - gridOffset, threadsPerGrid ); const IndexType currentGridSize = Devices::Cuda::getNumberOfBlocks( currentSize, cudaBlockSize.x ); updateUEuler<<< cudaBlocks, cudaBlockSize, sharedMemory >>>( currentSize, updateUEuler<<< currentGridSize, cudaBlockSize, sharedMemory >>>( currentSize, tau, &_k1[ gridOffset ], &_u[ gridOffset ], Loading Loading
src/TNL/Solvers/ODE/Euler_impl.h +2 −1 Original line number Diff line number Diff line Loading @@ -195,8 +195,9 @@ void Euler< Problem > :: computeNewTimeLevel( DofVectorPointer& u, const IndexType sharedMemory = cudaBlockSize.x * sizeof( RealType ); const IndexType gridOffset = gridIdx * threadsPerGrid; const IndexType currentSize = min( size - gridOffset, threadsPerGrid ); const IndexType currentGridSize = Devices::Cuda::getNumberOfBlocks( currentSize, cudaBlockSize.x ); updateUEuler<<< cudaBlocks, cudaBlockSize, sharedMemory >>>( currentSize, updateUEuler<<< currentGridSize, cudaBlockSize, sharedMemory >>>( currentSize, tau, &_k1[ gridOffset ], &_u[ gridOffset ], Loading