Commit 37b353f4 authored by Tomáš Oberhuber's avatar Tomáš Oberhuber
Browse files

Fix of cudaGetLastError() call in HeatEquationBenchmarkProblem_impl.h.

parent 171d3c9d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -716,7 +716,7 @@ applyBoundaryConditions( const RealType& time,
          //&userDataPtr.template modifyData< Devices::Cuda >() );
      // */ 
      int cudaErr;
      if( ( cudaErr = cudaGetLastError() ) != cudaSuccess )
      if( ( cudaErr = ::cudaGetLastError() ) != cudaSuccess )
      {
         std::cerr << "Setting of boundary conditions failed. " << cudaErr << std::endl;
         return;