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

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]  
主站蜘蛛池模板: 涿鹿县| 古交市| 三穗县| 西峡县| 河源市| 威宁| 永和县| 龙岩市| 潼南县| 凌源市| 固镇县| 巴东县| 凤冈县| 大港区| 榕江县| 巫溪县| 晴隆县| 石门县| 镇坪县| 昌宁县| 永川市| 彰化县| 临海市| 榕江县| 肇庆市| 都兰县| 红桥区| 鄱阳县| 桐梓县| 桂东县| 确山县| 松潘县| 佛冈县| 抚远县| 淮滨县| 三门峡市| 确山县| 横峰县| 青川县| 会理县| 铁岭市|