- 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
推薦閱讀
- Django+Vue.js商城項目實戰
- Learn Blockchain Programming with JavaScript
- Python自動化運維快速入門(第2版)
- Microsoft Dynamics 365 Extensions Cookbook
- C語言程序設計基礎與實驗指導
- Android 7編程入門經典:使用Android Studio 2(第4版)
- SSM輕量級框架應用實戰
- Building Android UIs with Custom Views
- JavaScript應用開發實踐指南
- QGIS Python Programming Cookbook(Second Edition)
- Qt5 C++ GUI Programming Cookbook
- 深度學習入門:基于Python的理論與實現
- Drupal 8 Development Cookbook(Second Edition)
- Android熱門應用開發詳解
- JavaScript Mobile Application Development