The Cilk runtime instead uses a technique called “work stealing.”
而Cilk“运行时间”运用了“工作偷取”技术。
When the program is running, the Cilk system automatically allocates the spawned computation as many cores as are free to handle it.
当程序运行时,Cilk系统会自动将“引发计算”分配到闲置的处理器。
One of the advantages of Cilk, Leiserson explains, is that the programmer writes the same program whether it's going to run on a multicore computer or a single-core computer.
雷瑟森解释说,Cilk的优点之一是无论是多核还是单核计算机,程序员只需编写一种代码。
One of the advantages of Cilk, Leiserson explains, is that the programmer writes the same program whether it's going to run on a multicore computer or a single-core computer.
雷瑟森解释说,Cilk的优点之一是无论是多核还是单核计算机,程序员只需编写一种代码。
应用推荐