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

hw06 done #22

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

hw06 done #22

wants to merge 1 commit into from

Conversation

Leo-AO-99
Copy link

hw06 done

CPU为6核12线程
os:wsl-ubuntu20


fill,6.69倍,使用parallel_for
saxpy,1.05倍,使用parallel_for,不知道为什么提升很小
sqrtdot,3.78倍,使用parallel_reduce,因为使用并行,精度损失更小,和原答案不一样
minvalue,6.60倍,使用parallel_reduce
magicfilter,1.49倍,按照课程上的优化进行编写
scanner,1.91倍,使用parallel_scan

第一遍上课没完全听懂,后面一边写作业一边听课才明白,感谢小彭老师

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.

1 participant