From 9f6d66957f160bd8509be47b28d8e411f895d975 Mon Sep 17 00:00:00 2001 From: Max Sagebaum Date: Tue, 26 Sep 2023 13:48:59 +0200 Subject: [PATCH] Documentation changes from discussion. --- include/codi/expressions/activeTypeStatelessTape.hpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/include/codi/expressions/activeTypeStatelessTape.hpp b/include/codi/expressions/activeTypeStatelessTape.hpp index 29ef7497..6724785f 100644 --- a/include/codi/expressions/activeTypeStatelessTape.hpp +++ b/include/codi/expressions/activeTypeStatelessTape.hpp @@ -50,7 +50,8 @@ namespace codi { * * See also LhsExpressionInterface. * - * This active type implements a tape with no state. getTape() constructs a new tape on every call. + * This active type does not work with a fixed tape. Instead, getTape() constructs a new temporary tape on every call. + * In particular, tapes for this active type can not have a persistent state. * * @tparam T_Tape The tape that manages all expressions created with this type. */ @@ -78,7 +79,8 @@ namespace codi { public: - /// Constructor + /// @brief Constructor + /// @details CUDA compiler has problems when this function is annotated with \c __device__. constexpr CODI_INLINE_NO_FA ActiveTypeStatelessTape() = default; /// Constructor