Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Question about Parallel Programming

Status
Not open for further replies.

nge

Junior Member level 1
Junior Member level 1
Joined
Mar 31, 2003
Messages
16
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
95
Dear All,
I have a question about parallel programming. In some programming languages, we can do some part of the code to execute in parallel, but what I'm confusing is how these codes run on a processor (say, normal intel p4), time scheduling or what? thanks

nge
 

For program it is considered as execution on different processors. But actually, these processors are virtual - just simple time division. Let say, 1 ms real processor executes commands for first virtual processor, then 1 ms for second virtual, etc.

Also, there are some techniques, like HyperThreading from Intel, that can simultaneuosly execute 2 and more instructions for parallel threads on the same hardware processor. This approach can be applied only when these instructions from parallel threads require different resources of processor.
 

Hi,
Some times (as in SIMD) architecture the processor runs in Time division but appears parallel for all practical purposes. In some processors there are multiple execution units.
B R M
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top