Skip to content

ValeevGroup/umpire-cxx-allocator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

umpire-cxx-allocator

This package provides a C++ standard-compliant adaptor for LLNL/Umpire's allocators as a header-only library. It also supports building Umpire from source as a part of this package, including via CMake's FetchContent module.

Building

This package provides a CMake harness. Configure and install the package as follows:

cmake -S . -B build [optional arguments]
cmake --build build --target install

By default the package will search for an existing installation of Umpire. If Umpire is installed in a non-standard location use the CMAKE_PREFIX_PATH CACHE variable to specify the installation prefix of Umpire. If Umpire was not found, it will be built from source. In addition to the standard CMake CACHE variables used to control configuration (CMAKE_CXX_COMPILER, CMAKE_CXX_STANDARD, BUILD_SHARED_LIBS, etc.) the following Umpire-specific CMake CACHE variables can be used to customize the configuration of Umpire when built from source:

  • UMPIRE_ENABLE_CUDA (default=OFF) -- whether to enable CUDA support in Umpire
  • UMPIRE_ENABLE_HIP (default=OFF) -- whether to enable HIP support in Umpire
  • UMPIRE_ENABLE_ASSERTS (default=OFF) -- whether Umpire asserts are enabled
  • UMPIRE_ENABLE_LOGGING (default=OFF) -- whether Umpire logging is enabled

About

C++ standard-compliant adaptors for LLNL/Umpire's allocators

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published