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

[Fix] Fix the issue that single precision caculation is not runable on CUDA version #5825

Merged
merged 2 commits into from
Jan 6, 2025

Conversation

Critsium-xy
Copy link
Collaborator

Fix this issue #5679

Important!!!!!!!!!!!!!!!!!:

This only fix the problem that single precision caculation is not runable on CUDA version. This is caused by a wrong macro definition in new fft, which caused the GPU single precision FFT not initializing at all.

But!!!!!!!!!!!!!!!!!!
According to this issue #5811
Current PW version does not support single precision at all. This is caused by some other incorrect codes. This pull request cannot fix this problem. If you try using GPU single precision caculation now, it will tell you that cusolver cannot invert matrix. This is the can problem as the #5811 problem. Before this pull request, ABACUS can not be launched correctly at all.

@mohanchen mohanchen added GPU & DCU & HPC GPU and DCU and HPC related any issues Refactor Refactor ABACUS codes labels Jan 6, 2025
@mohanchen mohanchen merged commit 3d36512 into deepmodeling:develop Jan 6, 2025
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
GPU & DCU & HPC GPU and DCU and HPC related any issues Refactor Refactor ABACUS codes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants