- Hands-On GPU:Accelerated Computer Vision with OpenCV and CUDA
- Bhaumik Vaidya
- 58字
- 2021-08-13 15:48:23
Map
In this communication pattern, each thread or task takes a single input and produces a single output. Basically, it is a one-to-one operation. The vector addition program and element-wise squaring program, seen in the previous sections, are examples of the map pattern. The code of the map pattern will look as follows:
d_out[i] = d_in[i] * 2
推薦閱讀
- Progressive Web Apps with React
- Java面向對象軟件開發
- Learning Spring 5.0
- Developing Middleware in Java EE 8
- Learning Firefox OS Application Development
- Hands-On Reinforcement Learning with Python
- C語言程序設計上機指導與習題解答(第2版)
- Kubernetes源碼剖析
- 精通MySQL 8(視頻教學版)
- Web前端開發技術:HTML、CSS、JavaScript
- Mastering Leap Motion
- JavaScript Concurrency
- Python網絡運維自動化
- D Cookbook
- Instant PhoneGap