Skip to content
Snippets Groups Projects
Commit 306a695b authored by Jakub Klinkovský's avatar Jakub Klinkovský
Browse files

Added missing __cuda_callable__ mark to the Constant function

parent 1bd252e4
No related branches found
No related tags found
No related merge requests found
......@@ -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,
......
......@@ -16,6 +16,7 @@ namespace Analytic {
template< int Dimension,
typename Real >
__cuda_callable__
Constant< Dimension, Real >::
Constant()
: constant( 0.0 )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment