Skip to content

hw04(gcc) #45

New issue

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

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

Already on GitHub? # to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

hw04(gcc) #45

wants to merge 1 commit into from

Conversation

kyleskyguo
Copy link

目标,优化热区中step()
1,for循环中的int修改为size_t,并打开#pragma GCC ivdep
2,sqrt()改为std::sqrt()
3,循环中的常量尽量调整到函数外
4,打开-o3 -ffast-math -march=native -fopenmp

目标,优化热区中step()
1,for循环中的int修改为size_t,并打开#pragma GCC ivdep
2,sqrt()改为std::sqrt()
3,循环中的常量尽量调整到函数外
4,
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant