- 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]
推薦閱讀
- C語言程序設(shè)計(jì)(第3版)
- LabVIEW程序設(shè)計(jì)基礎(chǔ)與應(yīng)用
- PostgreSQL Cookbook
- 算法精粹:經(jīng)典計(jì)算機(jī)科學(xué)問題的Java實(shí)現(xiàn)
- 編程珠璣(續(xù))
- Object-Oriented JavaScript(Second Edition)
- Java Web應(yīng)用開發(fā)技術(shù)與案例教程(第2版)
- 云計(jì)算通俗講義(第3版)
- Learning Apache Kafka(Second Edition)
- Unity 3D/2D移動(dòng)開發(fā)實(shí)戰(zhàn)教程
- Python Essentials
- .NET Standard 2.0 Cookbook
- QGIS 2 Cookbook
- Magento 2 Beginners Guide
- AMP:Building Accelerated Mobile Pages