On the mobile phone, it required 100 seconds to run, but once offloaded to another computer, the same task took just one second.
在移动电话上,它的运行需要100秒。 但是如果将任务交给电脑处理,完成同样的任务只要1秒。
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的优点之一是无论是多核还是单核计算机,程序员只需编写一种代码。
应用推荐