Skip to content

Commit

Permalink
Allowing the option of CUDA memory space only if CUDA is enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
anagainaru committed Dec 27, 2022
1 parent cf22992 commit 341ceab
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions source/adios2/common/ADIOSTypes.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ enum class MemorySpace
{
Detect, ///< Detect the memory space automatically
Host, ///< Host memory space (default)
#ifdef ADIOS2_HAVE_CUDA
CUDA ///< CUDA memory spaces
#endif
};

/** Variable shape type identifier, assigned automatically from the signature of
Expand Down

0 comments on commit 341ceab

Please sign in to comment.