Open
Conversation
GeLee-Q
commented
Jan 28, 2022
- CPU六核心
- win上的tbb安装和使用感觉略麻烦,很难去离开MS的编译器去使用,并行优化效果也是各有参差。
- fill(), saxpy(), minvalue() 使用的是parallel_for();
- sqrtdot() 使用的parallel_reduce();
- scanner() 使用的是 parallel_scan();
- magicfilter()使用的是小鹏老师推荐的方法

Contributor
|
minvalue应该用parallel reduce
无法顺畅的大口呼吸,是活着的最好证明
…---Original---
From: ***@***.***>
Date: Fri, Jan 28, 2022 21:14 PM
To: ***@***.***>;
Cc: ***@***.***>;
Subject: [parallel101/hw06] hw06 GeLee (PR #13)
提示:请在 PR 描述中说明使用的 CPU 有多少核、多少线程哦 :)
如果不希望写 PR 描述,也可以直接在代码注释里写,没问题的~
CPU六核心
win上的tbb安装和使用感觉略麻烦,很难去离开MS的编译器去使用,并行优化效果也是各有参差。
fill(), saxpy(), minvalue() 使用的是parallel_for();
sqrtdot() 使用的parallel_reduce();
scanner() 使用的是 parallel_scan();
magicfilter()使用的是小鹏老师推荐的方法
You can view, comment on, or merge this pull request online at:
#13
Commit Summary
acdcc57 1
d6c4f65 Update main.cpp
File Changes
(1 file)
M main.cpp (96)
Patch Links:
https://github.com/parallel101/hw06/pull/13.patch
https://github.com/parallel101/hw06/pull/13.diff
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Author
|
好的好的,谢谢小彭老师,我改改 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.