阅读背景:

在OpenMP并行代码中,memset并行运行有什么好处吗?

来源:互联网 

I have blocks of memory that can be quite large (larger than the L2 cache), and sometimes I must set them to all zero. memset is good in a serial code, but what about parallel code ? Has somebody experience if calling memset from concurrent threads actually speed things up for large arrays ? Or even using simple openmp parallel for loops ?I have blocks of memory that can be quite large




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: