Commit 306a695b authored by Jakub Klinkovský's avatar Jakub Klinkovský
Browse files

Added missing __cuda_callable__ mark to the Constant function

parent 1bd252e4
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -27,6 +27,7 @@ class Constant : public Domain< dimensions, NonspaceDomain >
      typedef Real RealType;
      typedef Containers::StaticVector< dimensions, RealType > PointType;
 
      __cuda_callable__
      Constant();

      static void configSetup( Config::ConfigDescription& config,
+1 −0
Original line number Diff line number Diff line
@@ -16,6 +16,7 @@ namespace Analytic {

template< int Dimension,
          typename Real >
__cuda_callable__
Constant< Dimension, Real >::
Constant()
: constant( 0.0 )