作者FAITHY ()
看板C_and_CPP
標題Re: [問題] Multithread Coding and Parallel Coding
時間Sat Oct 15 02:09:58 2011
不好意思 對作業系統不是很懂><
multiprocessor是像多cpu 交給不同的處理器做運算嗎
那multithread是分時而已嗎 還是如何達到好像同步進行
感謝Orz
※ 引述《liquidcrysta (crystal)》之銘言:
: Hello people,
: Apologize I can only type English for now.
: I've been working on image processing and graphics application for a while,
: and found that "think parallely" is critical to modern applications.
: But I always have a question:
: Do you think we should learn multithread coding (which I mean single/multicore)
: before getting into parallel coding (which i mean gpgpu/multiprocessor)?
: As my littile knowledge in these two fields,
: multithread is to utilize the concept of "shared memory" rather than
: speeding up by multicores, while parallel computing is intended to speed up
: by the power of multiple processors.
: I'm interested in how people compare with these two models.
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 124.8.136.215
→ purincess:你是要講multiprocess"ing"還是multiprocess"or"阿 XD 10/15 02:13
→ purincess:要不要你先把thread跟process的區分搞清楚? 10/15 02:13
→ purincess:multithread的話corase-grained跟fine-grained都有點 10/15 02:14
→ purincess:分時進行的效果 但如果是simultaneous multithreading 10/15 02:14
→ purincess:就又不是了.... 10/15 02:14
→ purincess:啊我好像講得太architecture了 這裡是程式板= = 10/15 02:14
→ FAITHY:XD multiproces 10/15 02:15
→ FAITHY:網路上也查到一些了 把mutuprocessor和multiprocess搞混了 10/15 02:18
→ FAITHY:開兩個播放器 應該就是multiprocess的緣故...可以單核心.. 10/15 02:20
→ FAITHY:mutiprocess/thread主要都是分時.. 10/15 02:21
推 GreatShot:感覺原PO是想問 MPI vs. THREAD/OPENMP 10/15 02:48
→ GreatShot:個人覺得概念不太一樣,先學那種不衝突。 10/15 02:50