Previous | --- Slide 64 of 64
Back to Lecture Thumbnails
endofmoore

ISPC's foreach explicitly declares that each loop as independent where each loops can be executed as parallel instances in groups known as gangs; Cilk has similar semantics where each call to cilk_spawn implies that the invoked function can be executed independently (asynchronously) of the main thread and any other call to cilk_spawn as concurrent instances. However when it come to implementation ISPC differs from Cilk in that ISPC is has it's gangs of program instannces mapped to SIMD instrucitons on a single core; that define a set of tasks that can be executed concurrently, while cilk implements a fork join pattern where each instances can be executed as a thread in any core

Please log in to leave a comment.