diff --git a/include/picongpu/fields/FieldB.tpp b/include/picongpu/fields/FieldB.tpp index 39e259c8d4..20d775f4b8 100644 --- a/include/picongpu/fields/FieldB.tpp +++ b/include/picongpu/fields/FieldB.tpp @@ -42,7 +42,7 @@ namespace picongpu { } - FieldB::UnitValueType FieldB::getUnit( ) + HDINLINE FieldB::UnitValueType FieldB::getUnit( ) { return UnitValueType{ UNIT_BFIELD, UNIT_BFIELD, UNIT_BFIELD }; } diff --git a/include/picongpu/fields/FieldE.tpp b/include/picongpu/fields/FieldE.tpp index 36c99c5b46..1e6179ada3 100644 --- a/include/picongpu/fields/FieldE.tpp +++ b/include/picongpu/fields/FieldE.tpp @@ -42,7 +42,7 @@ namespace picongpu { } - FieldE::UnitValueType FieldE::getUnit( ) + HDINLINE FieldE::UnitValueType FieldE::getUnit( ) { return UnitValueType{ UNIT_EFIELD, UNIT_EFIELD, UNIT_EFIELD }; } diff --git a/include/picongpu/particles/synchrotronPhotons/SynchrotronFunctions.tpp b/include/picongpu/particles/synchrotronPhotons/SynchrotronFunctions.tpp index 5685abdf36..8d1868a5c5 100644 --- a/include/picongpu/particles/synchrotronPhotons/SynchrotronFunctions.tpp +++ b/include/picongpu/particles/synchrotronPhotons/SynchrotronFunctions.tpp @@ -48,7 +48,7 @@ namespace detail * @param x position of the synchrotron function to be evaluated */ -float_X MapToLookupTable::operator()(const float_X x) const +HDINLINE float_X MapToLookupTable::operator()(const float_X x) const { /* This mapping increases the sample point density for small values of x * where the synchrotron functions have a divergent slope. Without this mapping