-
Notifications
You must be signed in to change notification settings - Fork 141
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into lingering-noasan
- Loading branch information
Showing
44 changed files
with
1,720 additions
and
590 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
////////////////////////////////////////////////////////////////////////////////////// | ||
// This file is distributed under the University of Illinois/NCSA Open Source License. | ||
// See LICENSE file in top directory for details. | ||
// | ||
// Copyright (c) 2021 QMCPACK developers. | ||
// | ||
// File developed by: Ye Luo, yeluo@anl.gov, Argonne National Laboratory | ||
// | ||
// File created by: Ye Luo, yeluo@anl.gov, Argonne National Laboratory | ||
////////////////////////////////////////////////////////////////////////////////////// | ||
// -*- C++ -*- | ||
/** @file | ||
*/ | ||
#ifndef QMCPLUSPLUS_OMPTARGET_ALIGNED_ALLOCATOR_H | ||
#define QMCPLUSPLUS_OMPTARGET_ALIGNED_ALLOCATOR_H | ||
|
||
|
||
#include "OMPallocator.hpp" | ||
#include "PinnedAllocator.h" | ||
|
||
namespace qmcplusplus | ||
{ | ||
template<typename DT> | ||
using OffloadAllocator = OMPallocator<DT, aligned_allocator<DT>>; | ||
template<typename DT> | ||
using OffloadPinnedAllocator = OMPallocator<DT, PinnedAlignedAllocator<DT>>; | ||
} // namespace qmcplusplus | ||
#endif |
Oops, something went wrong.