- 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.
推薦閱讀
- 操作系統實用教程(Linux版)
- vSphere Virtual Machine Management
- 嵌入式Linux系統開發:基于Yocto Project
- Linux集群和自動化運維
- Extending Bootstrap
- Windows Phone應用程序開發
- Linux網絡內核分析與開發
- Moodle 3.x Teaching Techniques(Third Edition)
- 新手學電腦從入門到精通(Windows 10+Office 2016版)
- Ceph分布式存儲實戰
- INSTANT Migration from Windows Server 2008 and 2008 R2 to 2012 How-to
- Advanced Infrastructure Penetration Testing
- Learn SwiftUI
- Web Penetration Testing with Kali Linux(Third Edition)
- Angular權威教程