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

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.

主站蜘蛛池模板: 西城区| 横峰县| 天津市| 祥云县| 武义县| 京山县| 紫金县| 师宗县| 宕昌县| 孟州市| 军事| 清远市| 延长县| 云和县| 孝义市| 泸水县| 通辽市| 垫江县| 双城市| 罗定市| 什邡市| 定襄县| 临汾市| 古田县| 山阳县| 泰宁县| 五华县| 綦江县| 青神县| 乌拉特后旗| 遵化市| 米林县| 海口市| 福州市| 卫辉市| 乌兰县| 柘荣县| 洱源县| 溧水县| 信丰县| 泗洪县|