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

Remove Magma dependency by using CuSolver Routines #483

Merged
merged 6 commits into from
Oct 2, 2024

Conversation

yingjerkao
Copy link
Collaborator

This PR attempts to remove the Magma dependency by replacing magma routines with the corresponding cusolver ones.

It compiles CUDA 11.8, CuTensor 2.0.2.5, CuQuantum 24.08.0.5.

@yingjerkao
Copy link
Collaborator Author

It looks like the tests and coverage don't cover the gpu version?

@jeffry1829
Copy link
Collaborator

It looks like the tests and coverage don't cover the gpu version?

Yes, one possible option is that we might need to link some machine to github action

@jeffry1829
Copy link
Collaborator

I'll push test for Det later(along with some fixes), however, cusolver getrf is ridiculously slow, might investigate more

fix Det output device to gpu when original tensor is in gpu &
add tests for Det, make gpu test for Directsum actually happens at gpu
tests/linalg_test/Det_test.cpp Outdated Show resolved Hide resolved
tests/linalg_test/Det_test.cpp Outdated Show resolved Hide resolved
tests/linalg_test/Det_test.cpp Outdated Show resolved Hide resolved
tests/gpu/test_tools.h Outdated Show resolved Hide resolved
tests/gpu/linalg_test/Det_test.cpp Outdated Show resolved Hide resolved
tests/gpu/linalg_test/Det_test.cpp Outdated Show resolved Hide resolved
@IvanaGyro
Copy link
Collaborator

@jeffry1829 Could you create another PR for 35c95aa ? So this PR doesn't have to wait for the commit for fixing the Det.

@jeffry1829
Copy link
Collaborator

@jeffry1829 Could you create another PR for 35c95aa ? So this PR doesn't have to wait for the commit for fixing the Det.

Reverted

@jeffry1829 jeffry1829 mentioned this pull request Oct 2, 2024
@jeffry1829 jeffry1829 merged commit 4861097 into dev-master Oct 2, 2024
1 of 2 checks passed
@jeffry1829 jeffry1829 deleted the remove_magma branch October 2, 2024 12:52
@yingjerkao
Copy link
Collaborator Author

Fix #482

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