Commit c1b8e584 authored by Jakub Klinkovský's avatar Jakub Klinkovský
Browse files

Added missing __cuda_callable__ flag to MeshEntity

parent 60debcfc
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -147,6 +147,7 @@ protected:

   SubentityAccessLayer() = default;

   __cuda_callable__
   explicit SubentityAccessLayer( const SubentityAccessLayer& layer )
      : BaseType( layer )
   {
@@ -269,6 +270,7 @@ protected:

   SubentityAccessLayer() = default;

   __cuda_callable__
   explicit SubentityAccessLayer( const SubentityAccessLayer& layer )
      : BaseType( layer )
   {
+1 −0
Original line number Diff line number Diff line
@@ -143,6 +143,7 @@ public:

   SuperentityAccessLayer() = default;

   __cuda_callable__
   explicit SuperentityAccessLayer( const SuperentityAccessLayer& layer )
      : BaseType( layer )
   {
+2 −0
Original line number Diff line number Diff line
@@ -24,6 +24,7 @@ namespace Meshes {
template< typename MeshConfig,
          typename Device,
          typename EntityTopology >
__cuda_callable__
MeshEntity< MeshConfig, Device, EntityTopology >::
MeshEntity( const MeshEntity& entity )
   : SubentityAccessLayerFamily< MeshConfig, Device, EntityTopology >( entity ),
@@ -192,6 +193,7 @@ getVertexIndex( const LocalIndexType localIndex ) const
 * Vertex entity specialization
 */
template< typename MeshConfig, typename Device >
__cuda_callable__
MeshEntity< MeshConfig, Device, Topologies::Vertex >::
MeshEntity( const MeshEntity& entity )
   : SuperentityAccessLayerFamily< MeshConfig, Device, Topologies::Vertex >( entity ),
+2 −0
Original line number Diff line number Diff line
@@ -58,6 +58,7 @@ class MeshEntity
      // constructors
      MeshEntity() = default;

      __cuda_callable__
      MeshEntity( const MeshEntity& entity );

      template< typename Device_ >
@@ -151,6 +152,7 @@ class MeshEntity< MeshConfig, Device, Topologies::Vertex >
      // constructors
      MeshEntity() = default;

      __cuda_callable__
      MeshEntity( const MeshEntity& entity );

      template< typename Device_ >