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

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.

主站蜘蛛池模板: 大冶市| 江西省| 乌拉特中旗| 白河县| 苗栗市| 延安市| 尉氏县| 新和县| 定陶县| 黔东| 梅州市| 盐城市| 合川市| 奉节县| 大安市| 吉木萨尔县| 福贡县| 邵武市| 六盘水市| 伊川县| 蒲城县| 肥西县| 黄大仙区| 朔州市| 光山县| 八宿县| 洛扎县| 涞水县| 滕州市| 临沧市| 会宁县| 墨脱县| 贞丰县| 新竹市| 务川| 赫章县| 苗栗县| 青岛市| 泰州市| 凉城县| 平南县|