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

Use KrylovPreconditioners and using KLU as CPU solver #284

Merged
merged 5 commits into from
Dec 5, 2023

Conversation

michel2323
Copy link
Member

No description provided.

Copy link

codecov bot commented Dec 1, 2023

Codecov Report

Attention: 12 lines in your changes are missing coverage. Please review.

Comparison is base (7e3b639) 69.41% compared to head (e4141d6) 68.31%.

❗ Current head e4141d6 differs from pull request most recent head 64b32f8. Consider uploading reports for the commit 64b32f8 to get more accurate results

Files Patch % Lines
src/LinearSolvers/LinearSolvers.jl 79.16% 5 Missing ⚠️
src/Polar/newton.jl 63.63% 4 Missing ⚠️
ext/ExaPFCUDAExt.jl 40.00% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #284      +/-   ##
==========================================
- Coverage   69.41%   68.31%   -1.10%     
==========================================
  Files          34       30       -4     
  Lines        4482     4138     -344     
==========================================
- Hits         3111     2827     -284     
+ Misses       1371     1311      -60     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

test/runtests.jl Outdated
ROC_ARCH = (ROCBackend(), ROCArray, ROCSparseMatrixCSR)
push!(ARCHS, ROC_ARCH)
end
# if AMDGPU.has_rocm_gpu()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
# if AMDGPU.has_rocm_gpu()
# if AMDGPU.functional()

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can do the same thing and CUDA and oneAPI.
https://jso.dev/Krylov.jl/dev/gpu/#AMD-GPUs

@michel2323 michel2323 changed the title Use KrylovPreconditioners Use KrylovPreconditioners and using KLU as CPU solver Dec 5, 2023
@michel2323 michel2323 force-pushed the ms/krylovprecond branch 2 times, most recently from 13b20e1 to 68ebbf1 Compare December 5, 2023 18:19
@michel2323 michel2323 merged commit 9b455e6 into main Dec 5, 2023
3 checks passed
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.

3 participants