- Hands-On GPU:Accelerated Computer Vision with OpenCV and CUDA
- Bhaumik Vaidya
- 58字
- 2021-08-13 15:48:24
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]
推薦閱讀
- Java逍遙游記
- Visual C++程序設(shè)計學(xué)習(xí)筆記
- Visual C++串口通信開發(fā)入門與編程實踐
- C++ Builder 6.0下OpenGL編程技術(shù)
- OpenCV 3和Qt5計算機視覺應(yīng)用開發(fā)
- Linux環(huán)境編程:從應(yīng)用到內(nèi)核
- Unity Shader入門精要
- SQL Server 2016數(shù)據(jù)庫應(yīng)用與開發(fā)習(xí)題解答與上機指導(dǎo)
- 自然語言處理Python進(jìn)階
- 基于Struts、Hibernate、Spring架構(gòu)的Web應(yīng)用開發(fā)
- C#程序設(shè)計教程(第3版)
- 移動增值應(yīng)用開發(fā)技術(shù)導(dǎo)論
- Kotlin極簡教程
- 創(chuàng)意UI:Photoshop玩轉(zhuǎn)APP設(shè)計
- jQuery技術(shù)內(nèi)幕:深入解析jQuery架構(gòu)設(shè)計與實現(xiàn)原理