-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for Darwin 32-bit and PPC (#5916)
* Do not use 64-bit static_asserts on 32-bit build * TestScan: case for 32-bit * Disable team scratch failing test on 32-bit, for now * CMakeLists: status message instead of a fatal error for 32-bit build * Kokkos_ClockTic: add implementation for ppc * Use KOKKOS_IMPL_32BIT instead of KOKKOS_32_BIT * Add 32bit build to GitHub CI * Limit ScatterView test to 1GB * Fix signed compariosn in TestVector.hpp * Indentation * Signed compare * Disable std::complex<long double> test * Disable repeated_team_reduce and deep_copy_conversion * Update test restriction Co-authored-by: Damien L-G <[email protected]> * Update core/unit_test/TestTeamBasic.hpp * Add assert for sizeof(void*) * Try using integer comparison * Add reference for clock_tic_host implementation * Make FIXME_32BIT more uniform * Print platform information * Fix Kokkos_Core_fwd.hpp * Separate 32bit CI into its own workflow * Add new workflow file * Minimize workflow file * Try LIBDL=ON * Remove ccache commands and LIBDL --------- Co-authored-by: Daniel Arndt <[email protected]> Co-authored-by: Damien L-G <[email protected]>
- Loading branch information
1 parent
56ef02c
commit e5490e1
Showing
14 changed files
with
100 additions
and
10 deletions.
There are no files selected for viewing
37 changes: 37 additions & 0 deletions
37
.github/workflows/continuous-integration-workflow-32bit.yml
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,37 @@ | ||
name: github-Linux-32bit | ||
on: [push, pull_request] | ||
|
||
concurrency: | ||
group: ${ {github.event_name }}-${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: ${{github.event_name == 'pull_request'}} | ||
|
||
jobs: | ||
CI-32bit: | ||
name: Linux-32bit | ||
runs-on: ubuntu-latest | ||
container: | ||
image: ghcr.io/kokkos/ci-containers/ubuntu:latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
- name: install_multilib | ||
run: sudo apt-get update && sudo apt-get install -y gcc-multilib g++-multilib gfortran-multilib | ||
- name: Configure Kokkos | ||
run: | | ||
cmake -B builddir \ | ||
-DKokkos_ENABLE_OPENMP=ON \ | ||
-DKokkos_ENABLE_TESTS=ON \ | ||
-DKokkos_ENABLE_BENCHMARKS=ON \ | ||
-DKokkos_ENABLE_EXAMPLES=ON \ | ||
-DKokkos_ENABLE_DEPRECATED_CODE_4=ON \ | ||
-DKokkos_ENABLE_DEPRECATION_WARNINGS=OFF \ | ||
-DKokkos_ENABLE_COMPILER_WARNINGS=ON \ | ||
-DCMAKE_CXX_FLAGS="-Werror -m32 -DKOKKOS_IMPL_32BIT" \ | ||
-DCMAKE_CXX_COMPILER=g++ \ | ||
-DCMAKE_BUILD_TYPE=RelWithDebInfo | ||
- name: Build | ||
run: | | ||
cmake --build builddir --parallel 2 | ||
- name: Tests | ||
working-directory: builddir | ||
run: ctest --output-on-failure |
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
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
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