官术网_书友最值得收藏!

Scatter

In a scatter pattern, a thread or a task takes a single input and computes where in the memory it should write the output. Array sorting is an example of a scatter operation. It can also be one-to-many operations. The code for scatter pattern will look as follows:

out[i-1] += 2 * in[i] and out[i+1] += 3*in[i]  
主站蜘蛛池模板: 遂宁市| 花莲县| 雷州市| 辽阳县| 合山市| 油尖旺区| 沭阳县| 乃东县| 元江| 南皮县| 南京市| 灵川县| 巴塘县| 湘阴县| 沁阳市| 衡水市| 恩平市| 柘城县| 南充市| 石楼县| 唐山市| 仙居县| 犍为县| 海口市| 博湖县| 勐海县| 娄底市| 平顺县| 东乌珠穆沁旗| 青岛市| 社旗县| 新宁县| 广汉市| 莎车县| 万荣县| 什邡市| 防城港市| 南丹县| 广元市| 崇阳县| 荣成市|