Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Gpu particles tiling #1

Open
wants to merge 11 commits into
base: development
Choose a base branch
from
Open

Conversation

MaxThevenet
Copy link
Owner

No description provided.

MaxThevenet pushed a commit that referenced this pull request Mar 13, 2022
* CMake: first basic attempt at HIP support

* Update Tools/CMake/AMReXParallelBackends.cmake

Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>

* CI: Add HIP-Clang

* fix typo: GCC 9.3 on focal

* Fix sources: set two lists

* fix target properties: append two lists

* CMake: some changes to debug issue with generated files

* CI: only run HIP check for now

* CMake: fix typo

* CMake: let's try this

* CMake: other small modifications

* CMake: attemp #1

* CMake: attemp #2

* CI: build just the bare minimum for now

* CMake: attempt AMReX-Codes#3

* CMake: missing defines for HIP builds

* CMake: defines were still missing :-P

* CMake: AMREX_HIP_PLATFORM is actually the HIP_COMPILER

* CMake: let's see if this works

* Install rocRAND

* CMake: re-factor and update defines for HIP compilation

* CMake: list against hiprand too

* CMake: find and link to hiprand

* CMake: add -DNDEBUG to any type of build when HIP is on

* CMake: we must manually add rocrand too

* CMake: let's see if it works with Fortran enabled

* Revert "CMake: let's see if it works with Fortran enabled"

This reverts commit 0650715.

* CMake: try this

* CMake: this should work too

* Revert "Revert "CMake: let's see if it works with Fortran enabled""

This reverts commit 6a92adc.

* CMake: no fortran for now

* CI: turn on linear solvers in HIP check

* CI: turn on particles in HIP checks

* Revert "CI: turn on linear solvers in HIP check"

This reverts commit c723560.
The reason is that Linear Solvers tutorials are not HIP-aware yet.

* CMake: hipify tutorials

* CMake: temporary fix

* Revert "CMake: temporary fix"

This reverts commit bd6724e.

* CMake: fix HIP compilation for Tutorials

* CMake: some cleanup

* CMake: add HIP options to pass in architecture and extra flags

* CMake: oops

* CMake: try to enable linear solvers

* CMake: update ROCm version number in CI check name

* CMake: enable Fortran

* CMake: disable tutorials for the time being

* CMake: commit custom FindHIP.cmake to debug the issue

* CMake: trying this

* CMake: now it should use the local FindHIP.cmake

* CMake: now custom FindHIP.cmake should be able to find helper files

* CMake: let's see if we really need this

* CMake: let's try this

* CMake: temporary fix

* Revert "CMake: disable tutorials for the time being"

This reverts commit 885b911.

* CMake: Tutorials/Particles/CellSortedParticles do not work with HIP

* CMake: remove local FindHIP.cmake.

* CMake: HIP arch flags are now PUBLIC and inheritable

* CMake: no use for setup_target_for_hip_compilation anymore

* CMake: remove unnecessary options for HIP

* CMake: check that HIP_COMPILER is the same as CMAKE_CXX_COMPILER

* CMake: better this

* CI: uncomment all checks

* CMake: fix visibility of arch flags for HIP

* Doc: add subsection on HIP+CMake

* Update Docs/sphinx_documentation/source/GPU.rst

Co-authored-by: Shreyas Ananthan <shreyas@umd.edu>

* CMake: fix incorrect configuration option passed to cmake

* CI: target 'tutorials' no longer exists

Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
Co-authored-by: Shreyas Ananthan <shreyas@umd.edu>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants