- 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]
推薦閱讀
- Mastering Adobe Captivate 2017(Fourth Edition)
- 零基礎(chǔ)學(xué)C++程序設(shè)計(jì)
- 程序員考試案例梳理、真題透解與強(qiáng)化訓(xùn)練
- Functional Programming in JavaScript
- Windows Server 2016 Automation with PowerShell Cookbook(Second Edition)
- Mobile Device Exploitation Cookbook
- R用戶Python學(xué)習(xí)指南:數(shù)據(jù)科學(xué)方法
- QGIS 2 Cookbook
- Web前端開(kāi)發(fā)技術(shù):HTML、CSS、JavaScript
- Visual Basic程序設(shè)計(jì)基礎(chǔ)
- Node.js實(shí)戰(zhàn):分布式系統(tǒng)中的后端服務(wù)開(kāi)發(fā)
- React.js實(shí)戰(zhàn)
- Java面試一戰(zhàn)到底(基礎(chǔ)卷)
- AI輔助編程Python實(shí)戰(zhàn):基于GitHub Copilot和ChatGPT
- Puppet Cookbook(Third Edition)