Loading src/Examples/Hamilton-Jacobi/Solvers/hamilton-jacobi/tnlFastSweepingMethod1D_impl.h +1 −1 Original line number Diff line number Diff line Loading @@ -114,7 +114,7 @@ solve( const Meshes::DistributedMeshes::DistributedMesh< MeshType >& distributed bool* BlockIter = (bool*)malloc( ( numBlocksX ) * sizeof( bool ) ); bool* BlockIter = new bool[ numBlocksX ]; bool *BlockIterDevice; cudaMalloc(&BlockIterDevice, ( numBlocksX ) * sizeof( bool ) ); Loading Loading
src/Examples/Hamilton-Jacobi/Solvers/hamilton-jacobi/tnlFastSweepingMethod1D_impl.h +1 −1 Original line number Diff line number Diff line Loading @@ -114,7 +114,7 @@ solve( const Meshes::DistributedMeshes::DistributedMesh< MeshType >& distributed bool* BlockIter = (bool*)malloc( ( numBlocksX ) * sizeof( bool ) ); bool* BlockIter = new bool[ numBlocksX ]; bool *BlockIterDevice; cudaMalloc(&BlockIterDevice, ( numBlocksX ) * sizeof( bool ) ); Loading