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

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.

主站蜘蛛池模板: 车致| 旌德县| 安远县| 扶绥县| 辉县市| 南丹县| 称多县| 乌恰县| 云安县| 黑龙江省| 抚宁县| 万宁市| 吐鲁番市| 墨玉县| 阳西县| 桃源县| 张家川| 徐州市| 叶城县| 天台县| 理塘县| 东乡| 阜阳市| 清苑县| 宁城县| 古浪县| 城市| 弥渡县| 遂平县| 芜湖县| 襄城县| 博罗县| 茌平县| 来安县| 柘城县| 丽江市| 邵东县| 宜城市| 南京市| 资源县| 麻城市|