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

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]  
主站蜘蛛池模板: 长丰县| 甘德县| 额尔古纳市| 武宣县| 息烽县| 定结县| 五河县| 晋中市| 天长市| 修水县| 图们市| 甘南县| 固原市| 万源市| 扶绥县| 营口市| 岫岩| 临高县| 方山县| 三亚市| 成安县| 乐平市| 额敏县| 德保县| 故城县| 台东市| 德安县| 老河口市| 肃北| 临桂县| 阿图什市| 辉南县| 永城市| 黔西县| 保定市| 姜堰市| 咸宁市| 麻江县| 永宁县| 安多县| 游戏|