官术网_书友最值得收藏!

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.

主站蜘蛛池模板: 繁昌县| 安岳县| 磐安县| 潞西市| 通江县| 清河县| 望谟县| 尚志市| 元谋县| 建宁县| 冀州市| 杂多县| 勐海县| 岑溪市| 沁源县| 余姚市| 汉阴县| 嘉善县| 南投县| 安庆市| 尤溪县| 高邮市| 阳新县| 勐海县| 县级市| 靖州| 册亨县| 通州市| 武邑县| 平和县| 翼城县| 兰西县| 香河县| 保山市| 沅江市| 泸溪县| 临沭县| 海口市| 平昌县| 临泉县| 海城市|