Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
743 commits
Select commit Hold shift + click to select a range
1044fd4
Fix failing tests
masterleinad Oct 23, 2019
ef3550c
Merge pull request #2474 from jjwilke/fix-nvcc-2469
dalg24 Oct 23, 2019
4e67a02
Merge pull request #2467 from jjwilke/tpl-changes
dalg24 Oct 23, 2019
2eaf912
Added an env var to pick a random device
masterleinad Oct 23, 2019
2c6f076
Fix issue #2410.
crtrott Oct 23, 2019
de25342
start trying to modernize stack trace
ibaned Jul 26, 2019
2276975
Fix compilation issues
ibaned Jul 30, 2019
a0497b8
Apply clang-format
crtrott Aug 11, 2019
d9f5003
Intermediate work
crtrott Sep 13, 2019
0ff152b
Update to test for stacktrace
crtrott Oct 16, 2019
d61ce94
Improve error messages
masterleinad Oct 23, 2019
9eaab9c
Update Make file to compile and run Normal and Terminate stack trace
jeffmiles63 Oct 22, 2019
367c626
fixup! Fix issue #2410.
dalg24 Oct 24, 2019
acbb78a
Fix modules for compiler list used when compilers are selected manual…
Oct 24, 2019
2759127
Remove ifdef __NVCC__ around RawMemoryAllocationFailure in lieu of us…
Oct 24, 2019
db28a06
quick fix
Oct 24, 2019
f2929fa
Fix script path logic to update_lib.sh
jeffmiles63 Oct 24, 2019
efd357d
Merge pull request #2505 from jeffmiles63/fix-bowman-cmake
dalg24 Oct 25, 2019
d4e577d
Const the number of processors configured and the ones currently online
dalg24 Oct 25, 2019
dca6ab3
Merge pull request #2501 from jeffmiles63/fix-clang-RawMemoryAllocati…
dalg24 Oct 25, 2019
05d19ff
Merge pull request #2498 from masterleinad/kokkos-random-device
dalg24 Oct 25, 2019
00b25a5
Merge pull request #2494 from masterleinad/fix_c++20_lambda_warning
dalg24 Oct 25, 2019
5fcbe07
Merge pull request #2502 from jeffmiles63/fix-kokkos-dev-2-build
dalg24 Oct 25, 2019
eb6654e
Merge pull request #2504 from dhollman/fix-unused-variable-warning
dalg24 Oct 25, 2019
ef6f52f
Follow convention and name test suite *DeathTest when it contains a d…
dalg24 Oct 25, 2019
19fd005
Indentation
masterleinad Oct 25, 2019
0dda979
Added new overloads of team_size_{max,recommended} to Serial,OpenMP,T…
dalg24 Oct 26, 2019
817738d
Merge pull request #2507 from dalg24/death_test
crtrott Oct 26, 2019
f968bc9
Avoid code duplication for team_size_{max,recommended} in CUDA backend
dalg24 Oct 26, 2019
9ea28c4
Cuda: team_size_max/recommended: fix the last commit
crtrott Oct 26, 2019
a54bbeb
Fix Missing qualification which triggers when deprecated code is on
crtrott Oct 26, 2019
d5a1e59
Merge pull request #2509 from crtrott/fix-deprecated-code-enabled-build
dalg24 Oct 26, 2019
d427b00
Revert "Fix C++20 KOKKOS_LAMBDA deprecation warning"
dalg24 Oct 27, 2019
5cb86b4
Avoid implicit capture of *this by reference in range unit test
dalg24 Oct 27, 2019
92d1ed6
Merge pull request #2510 from kokkos/revert-2494-fix_c++20_lambda_war…
crtrott Oct 27, 2019
51f6f3e
Print devices that have been enabled when Kokkos is found
dalg24 Oct 25, 2019
008f845
Remove duplicated library in test
masterleinad Oct 28, 2019
1fabaa4
Update logic for upper case conversions when on mac
jeffmiles63 Oct 28, 2019
3a89594
added protected macro for thread sanitizer ignore
Sep 24, 2019
c081620
more thread sanitizer ignore
Sep 24, 2019
f7cd31b
significant cleanup of TSAN issues
Sep 24, 2019
8a75dff
almost all tests tsan and intel sanitizer clean
Sep 25, 2019
9ed3eae
applied clang format. Still can't get local clang-format to do what …
Sep 25, 2019
8ecfb44
added KOKKOS_IMPL to sanitizer macros
Oct 1, 2019
bd9ff5b
clang format mistake
Oct 1, 2019
7f0c061
gcc 4.8.4 workaround
Oct 24, 2019
6467add
apparently all versions <5 are broken
Oct 24, 2019
01a5264
elaborated on a comment
Oct 28, 2019
197a420
fix gcc-4.8.4 atomic issue
masterleinad Oct 25, 2019
af8cfb7
Update logic for upper case conversions when on mac
jeffmiles63 Oct 28, 2019
479f57a
Merge branch 'update_generate_makefile_mac' of github.com:jeffmiles63…
Oct 29, 2019
b5f18cf
Remove OS condition on upper case conversion
Oct 29, 2019
fd4b9f4
Address issue with test for success - ASSERT_TRUE requires void funct…
Oct 29, 2019
2b3f944
Merge pull request #2513 from jeffmiles63/update_generate_makefile_mac
dalg24 Oct 29, 2019
c4e167f
Merge pull request #2508 from dalg24/quiet
dalg24 Oct 30, 2019
f213d46
Check clang-format version
masterleinad Oct 30, 2019
2bed7f2
Add logic to handle export-dynamic in the linker settings rather rdyn…
Oct 30, 2019
6ddcb6d
Fix search order for TPL paths: #2515
Oct 29, 2019
6627890
fix CMake behavior for default -std: Issue #2520
Oct 31, 2019
0a51b5d
Merge pull request #2519 from masterleinad/check_clang_format_version
crtrott Oct 31, 2019
038e3ee
Merge pull request #2516 from jjwilke/tpl-fix-2515
crtrott Oct 31, 2019
8d11d4e
Append DeathTest to stack trace unit tests when necessary
dalg24 Oct 31, 2019
bdaa4b1
Adding DeepCopy profiling hooks in deep_copy call
crtrott Oct 31, 2019
eaa7558
Add hpx/1.3.0 support to apollo and replace spot check version
Oct 31, 2019
1655379
Fixup missed a return with Profiling::endDeepCopy()
dalg24 Nov 1, 2019
b350c8d
Add DeepCopy profile hooks in rank-0 overloads of deep_copy()
dalg24 Nov 1, 2019
7f3db34
Remove unused parameter
masterleinad Nov 1, 2019
43bd4c3
Merge pull request #2527 from masterleinad/unused_parameter
dalg24 Nov 1, 2019
f1e7645
Merge pull request #2525 from jeffmiles63/update-apollo-hpx
crtrott Nov 1, 2019
79d58cf
Fixup size argument in ProfilingD::beginDeepCopy() for the overload t…
dalg24 Nov 1, 2019
1434a4b
Merge pull request #2521 from jjwilke/std-flag-2520
crtrott Nov 1, 2019
05dd4a8
Enable kokkos_check() returns the result instead of fatal error
dalg24 Nov 1, 2019
e3ea84b
Make unparsed args passed to kokkos_check() an error
dalg24 Nov 1, 2019
c5a5cfc
Add test
masterleinad Nov 1, 2019
e84b026
Merge pull request #2523 from crtrott/issue-2522-deep_copy_profiling
crtrott Nov 4, 2019
f46f2b9
update return variable to "cmake-y" name
Nov 3, 2019
4862107
Pointless formatting in exported CMake config
dalg24 Nov 5, 2019
a824f4b
Export CMake variable that lists the enabled TPLs
dalg24 Nov 5, 2019
eb92da4
Merge pull request #2532 from dalg24/issue-2529-kokkos-check-result
dalg24 Nov 5, 2019
36780e1
Merge pull request #2534 from dalg24/export_kokkos_enabled_tpls_var
dalg24 Nov 5, 2019
41c056d
Drop exported variables Kokkos_{INCLUDE,LIBRARY}_DIR
dalg24 Nov 5, 2019
1796ccf
Drop exported variable Kokkos_LIBRARIES
dalg24 Nov 5, 2019
9f35734
Drop exported variable Kokkos_CMAKE_DIR
dalg24 Nov 5, 2019
22a12c2
Merge pull request #2535 from dalg24/drop_unnecessary_cmake_vars
dalg24 Nov 5, 2019
41053d0
fix cmake order until after global_set def in fake_tribits
Nov 6, 2019
e8c6da9
Make the CMake version a build argument in all images used in the CI
dalg24 Nov 6, 2019
4cb162d
Use CMake 3.15 in one of the CI builds
dalg24 Nov 6, 2019
1148065
Merge pull request #2541 from jjwilke/global-set-use-error
dalg24 Nov 6, 2019
48deb63
Merge pull request #2544 from dalg24/cmake_version
dalg24 Nov 7, 2019
637c87b
Allow for different clang-format executable
masterleinad Nov 7, 2019
3b83dec
Merge pull request #2547 from masterleinad/allow_different_clang_format
dalg24 Nov 7, 2019
ecb158b
Unify team/size_max/recommended, switch template arguments, use using
masterleinad Nov 11, 2019
091631d
Use CUDA_SAFE_CALL for get_cuda_func_attributes
masterleinad Nov 11, 2019
1c28d25
change HostMirror typedef to force host exec space: Issue #2512
Oct 30, 2019
b4e76f8
Use std::forward, KOKKOS_ASSERT
masterleinad Nov 12, 2019
4508fc9
Merge pull request #2499 from crtrott/issue-2410
dalg24 Nov 12, 2019
4f769e6
Merge pull request #2518 from jjwilke/host-mirror-2512
dalg24 Nov 13, 2019
3fc2458
Merge pull request #2549 from masterleinad/us_cuda_safe_call
crtrott Nov 13, 2019
034e8f2
added alias targets: Issue #2530
Nov 13, 2019
304af3c
Merge pull request #2550 from jjwilke/alias-libs-2530
dalg24 Nov 13, 2019
44ad534
Trilinos build system fixes with extra test scripts/docs
Oct 22, 2019
42db03c
test_all_sandia: fix clang build list for kokkos-dev-2
ndellingwood Nov 14, 2019
e0097db
Fixing stacktrace
crtrott Nov 14, 2019
4c430ca
Stacktrace removes special detection of rdynamic in CMakeList
crtrott Nov 14, 2019
53ba4b7
Fix rdynamic detection
crtrott Nov 14, 2019
bff8986
*test_all_sandia: update compilers for blake and mayer
ndellingwood Nov 14, 2019
504b344
*test_all_sandia: fixes for kokkos-dev-2 module list, add intel/19
ndellingwood Nov 14, 2019
64d4f6e
StackTrace: addessing dhollman's review comments
crtrott Nov 16, 2019
39ef244
Merge pull request #2375 from dhollman/issues-235x-thread-sanitizer-i…
dalg24 Nov 16, 2019
4383754
Allow using ittnotify
masterleinad Nov 16, 2019
9cc7da4
Fix XL build with GCC < 5 for header files
crtrott Nov 16, 2019
c82ebc0
Fix CUDA build issue in atomics
crtrott Nov 16, 2019
c492735
Using fallback path if is_trivially_copyable is not available ...
crtrott Nov 16, 2019
0a207bf
Revert "fix gcc-4.8.4 atomic issue"
dalg24 Nov 17, 2019
30de804
Workaround for GCC 4.8.4 add linker flag -latomic
dalg24 Nov 17, 2019
23f3d08
Help cmake finding libatomic by telling it to automatically search li…
dalg24 Nov 18, 2019
ff50ab1
Comment that LIBATOMIC must not be exposed as a TPL option
dalg24 Nov 18, 2019
f856911
Adding comment to explain the gnuc macro use
crtrott Nov 18, 2019
1af28e2
Merge pull request #2558 from dalg24/fixup_gcc484
dalg24 Nov 18, 2019
0333fd9
Fixup link against libatomic for all GCC pre 5
dalg24 Nov 18, 2019
fb325ea
Merge pull request #2551 from ndellingwood/update-testallsandia
dalg24 Nov 18, 2019
4cbdceb
Merge pull request #2559 from dalg24/gcc_pre_5
dalg24 Nov 18, 2019
7ab72ea
Fix CUDA compiler warnings
masterleinad Nov 18, 2019
e36702a
Merge pull request #2557 from crtrott/fix-atomic-issues
crtrott Nov 18, 2019
d894f23
Merge pull request #2560 from masterleinad/fix_cuda_compiler_warnings
crtrott Nov 18, 2019
62748cc
Merge branch 'develop' into new-stacktrace
crtrott Nov 19, 2019
7604149
scripts: update cm_generate_makefile and *test_all_sandia
ndellingwood Nov 19, 2019
be5c118
Merge pull request #2226 from ibaned/new-stacktrace
crtrott Nov 19, 2019
78990f0
Merge pull request #2556 from masterleinad/use_ittnotify
crtrott Nov 19, 2019
bded950
Merge pull request #2562 from ndellingwood/update-testallsandia
dalg24 Nov 22, 2019
85e0fdd
Merge pull request #2511 from jjwilke/cmake-promotion-new
dalg24 Nov 26, 2019
3198d08
Revert "Allow using ittnotify (Intel Inspector)"
crtrott Nov 27, 2019
8b5169c
Merge pull request #2569 from kokkos/revert-2556-use_ittnotify
crtrott Nov 27, 2019
94eb05c
Revert "Fix atomic issues"
crtrott Nov 27, 2019
fd3ffc7
Merge pull request #2570 from kokkos/revert-2557-fix-atomic-issues
crtrott Nov 27, 2019
7ac4e1c
Revert "Fixup link against libatomic for all GCC pre 5"
crtrott Nov 27, 2019
523cedd
Merge pull request #2571 from kokkos/revert-2559-gcc_pre_5
crtrott Nov 27, 2019
d6ea42d
Revert "Merge pull request #2558 from dalg24/fixup_gcc484"
crtrott Nov 27, 2019
e237df7
Revert "Merge pull request #2375 from dhollman/issues-235x-thread-san…
crtrott Nov 27, 2019
158dcdc
Applying fix to the Subview Test from reverted change
crtrott Nov 27, 2019
d9cd26d
Remove duplicate entry in cmake config file
crtrott Nov 27, 2019
6ea8b5c
Add complex<float> atomic unit tests
crtrott Nov 27, 2019
b2536c1
Merge pull request #2572 from kokkos/revert-sanitizer
dalg24 Nov 27, 2019
78e58ff
*test_all_sandia: add pgi/19 to kokkos-dev-2 testing
ndellingwood Dec 3, 2019
6e5a175
Merge pull request #2575 from ndellingwood/test_all_sandia-update
dalg24 Dec 3, 2019
334a404
workaround for bizarre PGI stack smashing bug related to EBO and/or a…
Dec 4, 2019
19027f6
Merge pull request #2578 from dhollman/pgi-task-bug-workaround
crtrott Dec 4, 2019
63b2aa7
Make nvcc_wrapper use the last std standard flag provided
dalg24 Dec 5, 2019
982b5ae
Make nvcc_wrapper use the last optimization flag provided
dalg24 Dec 5, 2019
0fbaa6b
The following copy assignment operators were keeping Kokkos::complex
nliber Dec 5, 2019
e658152
Fixed the issue number in the comments
nliber Dec 6, 2019
70498fc
Added test for complex being trivially copyable (if RealType is
nliber Dec 9, 2019
7e5179c
avoid re-adding libraries in config: Issue #2587
Dec 10, 2019
6104a78
Workaround for older gcc versions
masterleinad Dec 10, 2019
d2dc153
fix ARM flag/header issues for thunderx: Issue #2590
Dec 10, 2019
0715baf
Merge pull request #2588 from jjwilke/find-package-2587
dalg24 Dec 11, 2019
807ed0a
Add cuda/TestCuda_Task.cpp to the UnitTest_Cuda
Dec 10, 2019
319616e
Merge pull request #2594 from dalg24/cherry-pick-pr-2592-into-develop
dalg24 Dec 11, 2019
e2a175b
Check for destructor and copy assignment in the workaround
masterleinad Dec 11, 2019
621a392
Merge pull request #2591 from jjwilke/arm-flags-2590
crtrott Dec 11, 2019
7212d74
Merge pull request #2580 from dalg24/issue-2553-nvcc_wrapper-use-last…
crtrott Dec 11, 2019
c0c5d26
Consider more compiler versions
masterleinad Dec 11, 2019
ae1d8db
Fix installing KokkosCore_config.h for Trilinos
masterleinad Dec 11, 2019
de88bb3
Merge pull request #2599 from masterleinad/fix_installing_trilinos_ko…
dalg24 Dec 12, 2019
0378c0f
Merge pull request #2584 from nliber/issue-2577
dalg24 Dec 12, 2019
e38b725
Disable check for IBM XL
masterleinad Dec 13, 2019
feed365
Also install pkgconfig file through Trilinos
masterleinad Dec 16, 2019
6619d83
Attach additional configuration when installing through Trilinos
masterleinad Dec 16, 2019
71387c0
Comment on the preprocessor checks
masterleinad Dec 16, 2019
29713a8
Merge pull request #2602 from masterleinad/disable_xl_in_check
dalg24 Dec 16, 2019
1eff11e
Merge pull request #2604 from masterleinad/improve_trilinos_installation
ibaned Dec 18, 2019
db34a5e
change Trilinos to default Serial always on
Dec 19, 2019
501c74f
Merge pull request #2609 from jjwilke/tril-serial-fix
dalg24 Dec 20, 2019
1544883
Prefix test names with package name
dalg24 Dec 23, 2019
4cf428c
Merge pull request #2615 from dalg24/prefix_test_name
dalg24 Dec 24, 2019
e949993
.travis.yml: enable CI for release branches
junghans Dec 23, 2019
18d5ec7
Adding Unit Test for tags not forwarded via require
crtrott Dec 23, 2019
de2a631
Fix issue #2608 more than one tag given via require
crtrott Dec 27, 2019
4a530f9
Issue 2608 Implementing dalg24 suggestion for how to handle the void arg
crtrott Jan 2, 2020
75b32fa
Issue 2608: Add comment regarding duplication of testfile
crtrott Jan 2, 2020
4946bac
Merge pull request #2620 from dalg24/test_release_branch_on_travis
crtrott Jan 2, 2020
8dce249
Fix fallback forceinline macro definitions define -> #define
dalg24 Jan 7, 2020
b36cc06
Merge pull request #2622 from crtrott/issue-2608-tags-with-require
dalg24 Jan 7, 2020
e7da2b6
Merge pull request #2627 from dalg24/fixup_fallback_forceinline_macro…
crtrott Jan 7, 2020
007fec6
CPUDiscovery: remove windows support.
crtrott Jan 7, 2020
62da2f8
Merge branch 'openmptarget-updates' into develop
crtrott Jan 8, 2020
fbd82c8
Revert change in CudaParallel by OpenMPTarget Merge
crtrott Jan 8, 2020
32a0311
Merge pull request #2630 from crtrott/merge-cpudiscovery-fix
dalg24 Jan 8, 2020
a924e01
Add missing OpenMPTargetSpace::name() function
crtrott Jan 8, 2020
b0f0ce3
OpenMPTarget: fix standard reducers reductions
crtrott Jan 8, 2020
e816b35
Apply clang-format
crtrott Jan 8, 2020
39b5c79
OpenMPTarget: Fix TEST_F vs TEST usage
crtrott Jan 8, 2020
b501e14
OpenMPTarget: more fixes
crtrott Jan 8, 2020
9bb9bd2
added CMake support for OpenMP target, CMake cleanup
Jan 9, 2020
0c2d8d3
improve CUDA defaulted handling for CUDA 10
ibaned Jan 7, 2020
1825788
only suppress defaulted warning for CUDA 9.X
ibaned Jan 8, 2020
0a633a8
Merge pull request #2628 from ibaned/cuda-10-defaulted
dalg24 Jan 9, 2020
9761834
Restore conditional for CUDA unit test in algorithms/
dalg24 Jan 10, 2020
ecfaa60
Merge pull request #2638 from dalg24/algo_test_cuda_conditional
dalg24 Jan 10, 2020
ccdfb7f
CMake error if CUDA is enabled but no NVIDIA GPU architecture is spec…
dalg24 Jan 10, 2020
d2e28d3
test_all_sandia: add gcc/8 to kokkos-dev-2 compiler list
ndellingwood Jan 13, 2020
a199761
Merge pull request #2640 from ndellingwood/update-cmtestall
dalg24 Jan 14, 2020
234d14c
Fix indentation of CHECK_CUDA_ARCH() function per review
dalg24 Jan 14, 2020
c4fc169
fix nvcc_wrapper issues for GCC 8/CMake 3.12
Jan 14, 2020
4d48475
Remove more checks for CUDA version < 9.0
masterleinad Jan 15, 2020
b56cbf0
Amend to error message to reconfigure with -DKokkos_ARCH_???=ON
dalg24 Jan 15, 2020
028bb70
test_all_sandia: update kokkos-dev-2 compilers, help message
ndellingwood Jan 15, 2020
0411ab9
Merge pull request #2639 from dalg24/require_nvidia_gpu_arch
dalg24 Jan 15, 2020
bc7dda2
Remove branch for old CMake version
masterleinad Jan 15, 2020
69a4399
Merge pull request #2647 from ndellingwood/testall-script-updates
dalg24 Jan 15, 2020
9208fb9
Merge pull request #2643 from jjwilke/fix-nvcc-gcc8-cmake312
dalg24 Jan 16, 2020
a6f97f9
Merge pull request #2649 from masterleinad/remove_old_cmake
dalg24 Jan 16, 2020
d2be969
Merge pull request #2644 from masterleinad/deprecated_cuda
dalg24 Jan 16, 2020
ced5a0d
Remove trailing whitespace
masterleinad Jan 16, 2020
5ef866e
Add script for checking trailing whitespace
masterleinad Jan 17, 2020
a2a8977
Use apply-clang-format in check_format_cpp.sh
masterleinad Jan 17, 2020
50eacf5
Merge pull request #5 from jjwilke/openmptarget-cmake
crtrott Jan 20, 2020
a139175
OpenMPTarget: fix CMake build including build of the core unit tests
crtrott Jan 20, 2020
84189ff
OpenMPTarget: Fix cmake configure output
crtrott Jan 20, 2020
6025921
OpenMPTarget: make the architectures setting for NVIDIA generic
crtrott Jan 20, 2020
3b71751
OpenMPTarget: address PR review comments.
crtrott Jan 20, 2020
51bf82e
Fix typo in nvcc_wrapper
masterleinad Jan 21, 2020
f60f11e
Merge pull request #2662 from masterleinad/fix_typo_nvcc_wrapper
dalg24 Jan 21, 2020
a4584b5
Merge branch 'develop' into openmptarget-merge
crtrott Jan 21, 2020
d53d294
Check that libdl is enabled for profiling
masterleinad Jan 21, 2020
4dc4ade
Unify two git commands
masterleinad Jan 20, 2020
8e692cd
Fixing missing threadfence in particular for scan
crtrott Jan 21, 2020
c5f6aa0
Merge pull request #2668 from masterleinad/cherry_pick_2666_develop
dalg24 Jan 22, 2020
0d0bc47
Remove target check
masterleinad Jan 22, 2020
c82cd18
Remove Kokkos::Impl::condition and Kokkos::Impl::enable_if
masterleinad Jan 22, 2020
6e25d55
Merge pull request #2669 from masterleinad/remove_target_check
dalg24 Jan 22, 2020
b76797c
Merge pull request #2657 from masterleinad/remove_trailing_whitespace
crtrott Jan 22, 2020
5fd9542
Merge branch 'develop' into openmptarget-merge
crtrott Jan 23, 2020
355b713
OpenMPTarget adress more PR comments
crtrott Jan 23, 2020
f363fb2
Fix DeathTest failure on travis by not running DeathTests
crtrott Jan 22, 2020
673df10
OpenMPTarget fix a thing
crtrott Jan 23, 2020
42b10ae
Merge pull request #2670 from masterleinad/replace_enable_if
dalg24 Jan 23, 2020
e5fb6e1
Merge pull request #2671 from crtrott/travis-death-test-fix
crtrott Jan 23, 2020
cb23186
OpenMPTarget: Fix failing pushfinalize test
crtrott Jan 23, 2020
4f769e2
Merge branch 'develop' into openmptarget-merge
crtrott Jan 23, 2020
c504ab6
Fix Trilinos_CXX_COMPILER_FLAGS and other trilinos updates
Jan 10, 2020
14814c0
Merge pull request #2664 from masterleinad/check_for_libdl_profiling
dalg24 Jan 24, 2020
8937a27
Merge pull request #2674 from dalg24/cherry-pick-pr-2660
dalg24 Jan 24, 2020
fb92bc6
Fix StackTrace test using shared libraries
masterleinad Jan 24, 2020
3828e9c
Merge pull request #2675 from masterleinad/fix_stackatrce
dalg24 Jan 24, 2020
c478d69
OpenMPTarget Update: fix duplication of OpenMP flags
crtrott Jan 25, 2020
84e0f4b
OpenMPTarget: address more PR requests
crtrott Jan 25, 2020
fb13350
Merge pull request #2632 from crtrott/openmptarget-merge
crtrott Jan 27, 2020
f8a30ec
Disable stacktrace unit tests when Trilinos is enabled
ndellingwood Jan 27, 2020
2276803
Merge pull request #2683 from ndellingwood/cherry-pick-2682
crtrott Jan 27, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 6 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#Official Tool: clang-format version 8.0.0
BasedOnStyle: google
SortIncludes: false
AlignConsecutiveAssignments: true
AllowShortCaseLabelsOnASingleLine: true
AllowShortIfStatementsOnASingleLine: true
2 changes: 2 additions & 0 deletions .clang-format-ignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
core/unit_test/config/results/*
tpls/gtest/gtest/*
11 changes: 11 additions & 0 deletions .codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
coverage:
precision: 1
round: down
range: "70...100"
ignore:
- tpls/
- algorithms/unit_tests
- core/perf_test/
- core/unit_test/
- containers/performance_tests
- containers/unit_tests
130 changes: 103 additions & 27 deletions .jenkins
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
pipeline {
agent {
label 'docker'
}
agent none

environment {
CCACHE_DIR = '/tmp/ccache'
CCACHE_MAXSIZE = '10G'
Expand All @@ -20,21 +19,29 @@ pipeline {
args '-v /tmp/ccache.kokkos:/tmp/ccache'
}
}
environment {
OPTIONS = '--with-options=compiler_warnings --arch=Volta70 --compiler=/usr/local/bin/clang++ --with-cuda --with-cuda-options=enable_lambda'
}
steps {
sh 'ln -s /usr/bin/ccache /usr/local/bin/clang++'
sh 'ccache --zero-stats'
sh 'rm -rf build && mkdir -p build && cd build && ../generate_makefile.bash $OPTIONS && make test -j8'
sh '''rm -rf build && mkdir -p build && cd build && \
cmake \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
-DCMAKE_CXX_COMPILER=clang++ \
-DCMAKE_CXX_FLAGS=-Werror \
-DKokkos_ENABLE_COMPILER_WARNINGS=ON \
-DKokkos_ENABLE_TESTS=ON \
-DKokkos_ENABLE_CUDA=ON \
-DKokkos_ENABLE_CUDA_LAMBDA=ON \
-DKokkos_ARCH_VOLTA70=ON \
.. && \
make -j8 && ctest --output-on-failure'''
}
post {
always {
sh 'ccache --show-stats'
}
}
}
stage("CUDA-9.2-NVCC") {
stage('CUDA-9.2-NVCC') {
agent {
dockerfile {
filename 'Dockerfile.nvcc'
Expand All @@ -44,21 +51,29 @@ pipeline {
args '-v /tmp/ccache.kokkos:/tmp/ccache'
}
}
environment {
OPTIONS = '--with-options=compiler_warnings --arch=Volta70 --with-cuda --with-cuda-options=enable_lambda'
}
steps {
sh 'ln -s /usr/bin/ccache /usr/local/bin/g++'
sh 'ccache --zero-stats'
sh 'rm -rf build && mkdir -p build && cd build && ../generate_makefile.bash $OPTIONS && make test -j8'
sh '''rm -rf build && mkdir -p build && cd build && \
cmake \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
-DCMAKE_CXX_COMPILER=$WORKSPACE/bin/nvcc_wrapper \
-DCMAKE_CXX_FLAGS=-Werror \
-DKokkos_ENABLE_COMPILER_WARNINGS=ON \
-DKokkos_ENABLE_TESTS=ON \
-DKokkos_ENABLE_CUDA=ON \
-DKokkos_ENABLE_CUDA_LAMBDA=ON \
-DKokkos_ARCH_VOLTA70=ON \
.. && \
make -j8 && ctest --output-on-failure'''
}
post {
always {
sh 'ccache --show-stats'
}
}
}
stage("CUDA-10.1-NVCC") {
stage('CUDA-10.1-NVCC-RDC') {
agent {
dockerfile {
filename 'Dockerfile.nvcc'
Expand All @@ -68,44 +83,105 @@ pipeline {
args '-v /tmp/ccache.kokkos:/tmp/ccache'
}
}
environment {
OPTIONS = '--with-options=compiler_warnings --arch=Volta70 --with-cuda --with-cuda-options=enable_lambda,rdc,force_uvm'
}
steps {
sh 'ln -s /usr/bin/ccache /usr/local/bin/g++'
sh 'ccache --zero-stats'
sh 'rm -rf build && mkdir -p build && cd build && ../generate_makefile.bash $OPTIONS && make test -j8'
sh '''rm -rf build && mkdir -p build && cd build && \
cmake \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
-DCMAKE_CXX_COMPILER=$WORKSPACE/bin/nvcc_wrapper \
-DCMAKE_CXX_FLAGS=-Werror \
-DKokkos_ENABLE_COMPILER_WARNINGS=ON \
-DKokkos_ENABLE_TESTS=ON \
-DKokkos_ENABLE_OPENMP=ON \
-DKokkos_ENABLE_CUDA=ON \
-DKokkos_ENABLE_CUDA_LAMBDA=ON \
-DKokkos_ENABLE_CUDA_UVM=ON \
-DKokkos_ENABLE_CUDA_RELOCATABLE_DEVICE_CODE=ON \
-DKokkos_ARCH_VOLTA70=ON \
.. && \
make -j8 && ctest --output-on-failure'''
}
post {
always {
sh 'ccache --show-stats'
}
}
}
stage("CUDA-10.1-NVCC-DEBUG") {
stage('CUDA-10.1-NVCC-DEBUG') {
agent {
dockerfile {
filename 'Dockerfile.nvcc'
dir 'scripts/docker'
additionalBuildArgs '--pull --build-arg BASE=nvidia/cuda:10.1-devel'
additionalBuildArgs '--pull --build-arg BASE=nvidia/cuda:10.1-devel --build-arg CMAKE_VERSION=3.15.5'
label 'nvidia-docker && volta'
args '-v /tmp/ccache.kokkos:/tmp/ccache'
}
}
environment {
OPTIONS = '--with-options=compiler_warnings --arch=Volta70--with-cuda --with-cuda-options=enable_lambda --debug'
}
steps {
sh 'ln -s /usr/bin/ccache /usr/local/bin/g++'
sh 'ccache --zero-stats'
sh 'rm -rf build && mkdir -p build && cd build && ../generate_makefile.bash $OPTIONS && make test -j8'
sh '''rm -rf build && mkdir -p build && cd build && \
cmake \
-DCMAKE_BUILD_TYPE=Debug \
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
-DCMAKE_CXX_COMPILER=$WORKSPACE/bin/nvcc_wrapper \
-DCMAKE_CXX_FLAGS=-Werror \
-DKokkos_ENABLE_COMPILER_WARNINGS=ON \
-DKokkos_ENABLE_DEBUG=ON \
-DKokkos_ENABLE_DEBUG_BOUNDS_CHECK=ON \
-DKokkos_ENABLE_TESTS=ON \
-DKokkos_ENABLE_CUDA=ON \
-DKokkos_ENABLE_CUDA_LAMBDA=ON \
-DKokkos_ARCH_VOLTA70=ON \
.. && \
make -j8 && ctest --output-on-failure'''
}
post {
always {
sh 'ccache --show-stats'
}
}
}
stage('GCC-4.8.4') {
agent {
dockerfile {
filename 'Dockerfile.gcc'
dir 'scripts/docker'
additionalBuildArgs '--pull'
label 'docker'
}
}
environment {
OMP_NUM_THREADS = 8
OMP_PLACES = 'threads'
OMP_PROC_BIND = 'spread'
}
steps {
sh '''rm -rf build && mkdir -p build && cd build && \
cmake \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_CXX_FLAGS=-Werror \
-DKokkos_ENABLE_COMPILER_WARNINGS=ON \
-DKokkos_ENABLE_TESTS=ON \
-DKokkos_ENABLE_OPENMP=ON \
.. && \
make -j8 && ctest --output-on-failure'''
}
}
stage('Clang-Format') {
agent {
dockerfile {
filename 'Dockerfile.clang'
dir 'scripts/docker'
additionalBuildArgs '--pull'
label 'nvidia-docker || docker'
args '-v /tmp/ccache.kokkos:/tmp/ccache'
}
}
steps {
sh './scripts/docker/check_format_cpp.sh'
}
}
}
}
}
Expand Down
74 changes: 61 additions & 13 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,52 @@ compiler:
cache:
- ccache

stages:
- canary
- test

jobs:
include:
- stage: canary
env: CMAKE_BUILD_TYPE=Release BACKEND="OPENMP" CXXFLAGS="-Werror"
os: linux

branches:
only:
- master
- develop
- /^release/

env:
- THREADING="serial"
- THREADING="openmp"
- THREADING="pthread"
-
- BACKEND="OPENMP"
# - BACKEND="PTHREAD"
- CMAKE_BUILD_TYPE=Debug COVERAGE=yes GTEST_FILTER="-*DeathTest*"
- CMAKE_BUILD_TYPE=Debug BACKEND="OPENMP" COVERAGE=yes GTEST_FILTER="-*DeathTest*"
# - CMAKE_BUILD_TYPE=Debug BACKEND="PTHREAD" COVERAGE=yes
- CMAKE_BUILD_TYPE=Release
- CMAKE_BUILD_TYPE=Release BACKEND="OPENMP"
# - CMAKE_BUILD_TYPE=Release BACKEND="PTHREAD"

# Apple GCC does not support OpenMP. GCC with OpenMP requires Homebrew.
# Apple Clang does not support OpenMP. Clang with OpenMP requires Homebrew.
matrix:
exclude:
# Apple GCC is just an alias to AppleClang
- os: osx
env: THREADING="openmp"
compiler: gcc
# Apple Clang doesn't support OpenMP
- os: osx
compiler: clang
env: BACKEND="OPENMP"
- os: osx
compiler: clang
env: CMAKE_BUILD_TYPE=Debug BACKEND="OPENMP" COVERAGE=yes GTEST_FILTER="-*DeathTest*"
- os: osx
compiler: clang
env: CMAKE_BUILD_TYPE=Release BACKEND="OPENMP"
# We do this as canary
- os: linux
compiler: gcc
env: CMAKE_BUILD_TYPE=Release BACKEND="OPENMP"

before_script:
- if [[ ${TRAVIS_OS_NAME} == "osx" ]]; then
Expand All @@ -35,24 +68,39 @@ before_script:
export PATH=/usr/local/opt/ccache/libexec:$PATH;
fi
- ccache -z
- if [[ ${COVERAGE} ]]; then export CXX="${CXX} --coverage"; fi
- if [[ ! ${CMAKE_BUILD_TYPE} ]]; then export CXXFLAGS="${CXXFLAGS} -O2"; fi

script:
- export OMP_NUM_THREADS=2
- export OMP_PLACES=threads
- export OMP_PROC_BIND=spread
# LD_LIBRARY_PATH workaround to find clang's libomp: https://github.com/travis-ci/travis-ci/issues/8613
# LD_LIBRARY_PATH workaround to find clang's libomp: https://github.com/travis-ci/travis-ci/issues/8613
- if [[ ${CC} = clang ]]; then export LD_LIBRARY_PATH=/usr/local/clang/lib${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH; fi
# enable ccache for clang on linux and add CCACHE_CPP2 to avoid 'Argument unused during compilation -I...' warning
- if [[ ${TRAVIS_OS_NAME} = linux && ${CC} = clang ]]; then
ln -s /usr/bin/ccache $HOME/bin/clang++;
export CCACHE_CPP2=yes;
GENERATE_OPTS="--gcc-toolchain=/usr";
fi
- mkdir build
- cd build
- ../generate_makefile.bash --compiler=$CXX --with-$THREADING --with-options=compiler_warnings --cxxflags="-O3 -Werror" ${GENERATE_OPTS}
- make
- make test
- mkdir build &&
pushd build &&
cmake ..
${BACKEND:+-DKokkos_ENABLE_${BACKEND}=On}
-DKokkos_ENABLE_TESTS=On
${CMAKE_BUILD_TYPE:+-DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}} &&
make VERBOSE=1 -j2 &&
travis_wait 60 make test CTEST_OUTPUT_ON_FAILURE=1 &&
make install DESTDIR=${PWD}/install && rm -rf ${PWD}/install/usr/local && rmdir ${PWD}/install/usr &&
popd

after_success:
- ccache -s
- if [[ ${COVERAGE} ]]; then
mkdir -p $HOME/.local/bin && wget -O $HOME/.local/bin/codecov https://codecov.io/bash && chmod +x $HOME/.local/bin/codecov;
pushd build &&
if [[ ${CC} = clang* ]]; then
codecov -x "llvm-cov gcov" -F "${CC}";
else
codecov -x gcov -F "${CC}";
fi;
fi
Loading