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

Add HIP backend to runahead scheduling #143

Merged
merged 2 commits into from
Oct 24, 2023
Merged

Add HIP backend to runahead scheduling #143

merged 2 commits into from
Oct 24, 2023

Conversation

wlruys
Copy link
Contributor

@wlruys wlruys commented Oct 24, 2023

Added HIP support for new scikit-build-core driven compilation to support AMD machines.

Runahead scheduling bugs still exist here, but ..are shared between CUDA and HIP. They will be fixed in a followup PR.

Everything should be working for non-runahead and via CuPy.
Be aware that CuPy does not support sparse CUSOLVER routines with ROCm and our initialization skips this preinit step.

On Cray systems you may need to add cce libraries to your LIBRARY_PATH manually. I haven't been able to resolve this automatically on Tioga.
On TIOGA you may need to filter HIP_VISIBLE_DEVICES to 0,2,4,6.

@wlruys wlruys self-assigned this Oct 24, 2023
@wlruys wlruys added the enhancement New feature or request label Oct 24, 2023
@wlruys wlruys merged commit 23f8fb7 into main Oct 24, 2023
wlruys added a commit that referenced this pull request Nov 10, 2023
* fix: Make crosspy optional
* chore: Build dependency changes
* feature: Port compilation to use newer scikit-build
* feature: Dynamic recompilation of file changes
* fix: MacOS compilation
* fix: CUDA compilation
* feature: Add HIP backend to runahead scheduling (#143)
* fix: Filter out initialization of unsupported CuPy targets in ROCm
* fix: update makefile to new build system
* initial: build C++ stream pool
* style: lint & reformat cython (#146)
* chore: resolve warnings and errors in cython-lint
* chore: update dependencies in pyproject.toml add "dev" extras tag
* fix: restore relative paths (scikit-build-core resolved the error on their end)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant