-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
39 changed files
with
1,771 additions
and
24 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
David Beckingsale <[email protected]> David Alexander Beckingsale <[email protected]> |
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,27 @@ | ||
Copyright (c) 2016, Lawrence Livermore National Security, LLC. All rights | ||
reserved. | ||
|
||
Redistribution and use in source and binary forms, with or without | ||
modification, are permitted provided that the following conditions are met: | ||
|
||
* Redistributions of source code must retain the above copyright notice, this | ||
list of conditions and the following disclaimer. | ||
|
||
* Redistributions in binary form must reproduce the above copyright notice, | ||
this list of conditions and the following disclaimer in the documentation | ||
and/or other materials provided with the distribution. | ||
|
||
* Neither the name of the LLNS/LLNL nor the names of its contributors may be | ||
used to endorse or promote products derived from this software without | ||
specific prior written permission. | ||
|
||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND | ||
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED | ||
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | ||
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE | ||
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR | ||
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER | ||
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, | ||
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
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,21 @@ | ||
Additional BSD Notice | ||
|
||
1. This notice is required to be provided under our contract with the U.S. | ||
Department of Energy (DOE). This work was produced at Lawrence Livermore | ||
National Laboratory under Contract No. DE-AC52-07NA27344 with the DOE. | ||
|
||
2. Neither the United States Government nor Lawrence Livermore National | ||
Security, LLC nor any of their employees, makes any warranty, express or | ||
implied, or assumes any liability or responsibility for the accuracy, | ||
completeness, or usefulness of any information, apparatus, product, or process | ||
disclosed, or represents that its use would not infringe privately-owned | ||
rights. | ||
|
||
3. Also, reference herein to any specific commercial products, process, or | ||
services by trade name, trademark, manufacturer or otherwise does not | ||
necessarily constitute or imply its endorsement, recommendation, or favoring by | ||
the United States Government or Lawrence Livermore National Security, LLC. The | ||
views and opinions of authors expressed herein do not necessarily state or | ||
reflect those of the United States Government or Lawrence Livermore National | ||
Security, LLC, and shall not be used for advertising or product endorsement | ||
purposes. |
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 |
---|---|---|
@@ -1,19 +1,48 @@ | ||
# CHAI | ||
# CHAI v1.0 | ||
|
||
CHAI is a libary handling automatic data migration to different memory spaces | ||
behind an array-style interface. | ||
|
||
CHAI uses CMake and BLT to handle builds. Make sure that you have a modern | ||
compiler loaded and the configuration is as simple as: | ||
|
||
$ mkdir build && cd build | ||
$ cmake -DCUDA_TOOLKIT_ROOT_DIR=/path/to/cuda ../ | ||
$ mkdir build && cd build | ||
$ cmake -DCUDA_TOOLKIT_ROOT_DIR=/path/to/cuda ../ | ||
|
||
CMake will provide output about which compiler is being used, and what version | ||
of CUDA was detected. Once CMake has completed, CHAI can be built with Make: | ||
|
||
$ make | ||
$ make | ||
|
||
For more advanced configuration you can use standard CMake variables. | ||
|
||
More information is available in the CHAI documentation. | ||
|
||
## Authors | ||
|
||
The original developers of CHAI are: | ||
|
||
- Holger Jones ([email protected]) | ||
- David Poliakoff ([email protected]) | ||
- Peter Robinson ([email protected]) | ||
|
||
Contributors include: | ||
|
||
- David Beckingsale ([email protected]) | ||
- Riyaz Haque ([email protected]) | ||
- Adam Kunen ([email protected]) | ||
|
||
## Release | ||
|
||
Copyright (c) 2016, Lawrence Livermore National Security, LLC. | ||
Produced at the Lawrence Livermore National Laboratory | ||
|
||
All rights reserved. | ||
|
||
Unlimited Open Source - BSD Distribution | ||
|
||
For release details and restrictions, please read the LICENSE file. | ||
It is also linked here: [LICENSE](./LICENSE) | ||
|
||
- `LLNL-CODE-705877` | ||
- `OCEC-16-189` |
Submodule blt
updated
18 files
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 |
---|---|---|
@@ -1,2 +1,45 @@ | ||
###################################################################### | ||
# Copyright (c) 2016, Lawrence Livermore National Security, LLC. All | ||
# rights reserved. | ||
# | ||
# Produced at the Lawrence Livermore National Laboratory | ||
# | ||
# This file is part of CHAI. | ||
# | ||
# LLNL-CODE-705877 | ||
# | ||
# For details, see https:://github.com/LLNL/CHAI | ||
# Please also see the NOTICE and LICENSE files. | ||
# | ||
# Redistribution and use in source and binary forms, with or without | ||
# modification, are permitted provided that the following conditions | ||
# are met: | ||
# | ||
# - Redistributions of source code must retain the above copyright | ||
# notice, this list of conditions and the following disclaimer. | ||
# | ||
# - Redistributions in binary form must reproduce the above copyright | ||
# notice, this list of conditions and the following disclaimer in the | ||
# documentation and/or other materials provided with the | ||
# distribution. | ||
# | ||
# - Neither the name of the LLNS/LLNL nor the names of its contributors | ||
# may be used to endorse or promote products derived from this | ||
# software without specific prior written permission. | ||
# | ||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
# HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, | ||
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, | ||
# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS | ||
# OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED | ||
# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY | ||
# WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | ||
# POSSIBILITY OF SUCH DAMAGE. | ||
####################################################################### | ||
|
||
set (CUDA_NVCC_FLAGS -std=c++11; --expt-extended-lambda; -G; -g) | ||
include(${CMAKE_SOURCE_DIR}/cmake/thirdparty/SetupChaiThirdparty.cmake) |
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
Oops, something went wrong.