- Hands-On GPU Programming with Python and CUDA
- Dr. Brian Tuomanen
- 102字
- 2021-06-10 19:25:40
Using PyCUDA's gpuarray class
Much like how NumPy's array class is the cornerstone of numerical programming within the NumPy environment, PyCUDA's gpuarray class plays an analogously prominent role within GPU programming in Python. This has all of the features you know and love from NumPy—multidimensional vector/matrix/tensor shape structuring, array-slicing, array unraveling, and overloaded operators for point-wise computations (for example, +, -, *, /, and **).
gpuarray is really an indispensable tool for any budding GPU programmer. We will spend this section going over this particular data structure and gaining a strong grasp of it before we move on.
推薦閱讀
- 網絡操作系統:Windows Server 2003管理與應用
- Linux從零開始學(視頻教學版)
- 異質結原理與器件
- Linux就該這么學
- 細說Linux基礎知識
- Linux基礎使用與案例
- INSTANT Galleria Howto
- Linux從入門到精通(視頻教學版)
- Docker容器技術與應用
- Mastering Sass
- 辦公自動化教程(Windows7+Office2010)
- Learning Joomla! 3 Extension Development(Third Edition)
- Drupal 7 Mobile Web Development Beginner’s Guide
- VMware Virtual SAN Cookbook
- Nginx HTTP Server(Second Edition)