Skip to content

Commit

Permalink
Support for CUDA compilation of the AD forward mode.
Browse files Browse the repository at this point in the history
Merge pull request #44 from feature/cudaSupport.
Reviewed-by: Johannes Blühdorn <[email protected]>
  • Loading branch information
MaxSagebaum committed Oct 12, 2023
2 parents f630316 + 9f6d669 commit 2433ae6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions include/codi/expressions/activeTypeStatelessTape.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 2433ae6

Please sign in to comment.