久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

Numpy、BLAS 和 CUBLAS

Numpy, BLAS and CUBLAS(Numpy、BLAS 和 CUBLAS)
本文介紹了Numpy、BLAS 和 CUBLAS的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

問題描述

Numpy 可以針對不同的 BLAS 實現(MKL、ACML、ATLAS、GotoBlas 等)鏈接/編譯".這并不總是很容易配置,但它是可能的.

Numpy can be "linked/compiled" against different BLAS implementations (MKL, ACML, ATLAS, GotoBlas, etc). That's not always straightforward to configure but it is possible.

是否也可以針對 NVIDIA 的 CUBLAS 實現鏈接/編譯"numpy?
我在網絡上找不到任何資源,在我花太多時間嘗試之前,我想確保它完全可行.

Is it also possible to "link/compile" numpy against NVIDIA's CUBLAS implementation?
I couldn't find any resources in the web and before I spend too much time trying it I wanted to make sure that it possible at all.

推薦答案

一句話:不,你不能那樣做.

In a word: no, you can't do that.

有一個相當不錯的 scikit 提供從 scipy 訪問 CUBLAS 的功能,稱為 scikits.cuda 建立在 PyCUDA 之上.PyCUDA 提供了一個類似 numpy.ndarray 的類,它允許使用 CUDA 無縫地操作 GPU 內存中的 numpy 數組.因此,您可以將 CUBLAS 和 CUDA 與 numpy 一起使用,但您不能只鏈接 CUBLAS 并期望它能夠工作.

There is a rather good scikit which provides access to CUBLAS from scipy called scikits.cuda which is built on top of PyCUDA. PyCUDA provides a numpy.ndarray like class which seamlessly allows manipulation of numpy arrays in GPU memory with CUDA. So you can use CUBLAS and CUDA with numpy, but you can't just link against CUBLAS and expect it to work.

還有一個商業庫,它提供類似 numpy 和 cublas 的功能,并且具有 Python 接口或綁定,但我將把它留給他們的一個工人來填補.

There is also a commercial library that provides numpy and cublas like functionality and which has a Python interface or bindings, but I will leave it to one of their shills to fill you in on that.

這篇關于Numpy、BLAS 和 CUBLAS的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

相關文檔推薦

Python GPU programming(Python GPU 編程)
why can#39;t I get the right sum of 1D array with numba (cuda python)?(為什么我不能用 numba (cuda python) 得到正確的一維數組的總和?)
How to generalize fast matrix multiplication on GPU using numba(如何使用 numba 在 GPU 上泛化快速矩陣乘法)
Installing theano on Windows 8 with GPU enabled(在啟用 GPU 的 Windows 8 上安裝 theano)
How to profile PyCuda code with the Visual Profiler?(如何使用 Visual Profiler 分析 PyCuda 代碼?)
Is it still necessary to install CUDA before using the conda tensorflow-gpu package?(在使用 conda tensorflow-gpu 包之前是否還需要安裝 CUDA?)
主站蜘蛛池模板: 一区二区三区久久久 | av中文天堂 | 日韩一区二区三区在线观看 | 深夜福利亚洲 | 久久99精品久久久久 | 免费观看毛片 | 国产精品不卡一区二区三区 | 欧美一区二区三区久久精品视 | 亚洲在线一区二区 | 亚洲国产精品久久久久婷婷老年 | 国产高清精品在线 | 欧美视频一区二区三区 | 国内精品久久久久久 | 国产精品一区一区三区 | 久久6| 国产a区| 欧美成人一区二区三区片免费 | 亚洲精品中文字幕在线 | 天天操天天射天天舔 | av大片| 九九热视频这里只有精品 | 亚洲影视在线 | 精品少妇一区二区三区在线播放 | 日韩在线中文字幕 | 91大神xh98xh系列全部 | 最新中文字幕久久 | 一本一道久久a久久精品综合 | 久久国产免费 | 国产成人久久精品一区二区三区 | 久久亚洲一区二区 | 精品国产乱码一区二区三区 | 欧美一级做性受免费大片免费 | 永久av | 成人亚洲一区 | 一区日韩 | 日本精品一区二区三区在线观看视频 | 欧美大片黄| 日本久久久久久 | 亚洲欧美日韩在线不卡 | www.伊人.com | 亚洲手机视频在线 |