Previous | Next --- Slide 80 of 87
Back to Lecture Thumbnails
ParallelPorcupine

If there were two threads, would you assign based on whether the threads use vector instructions? So if both threads used vector instructions, the threads would be assigned to the execution contexts that let them use the SIMD Exec units.

belce

The OS is responsible for mapping pthreads to execution contexts while the processor is responsible for mapping instruction streams (is this another way of saying threads?) to cores. Is this correct? In that case, the answer to the first question should be that the OS is responsible for mapping 2 threads to 2 execution contexts within one core for each core. The 2 threads are chosen by the processor?