Problem using GPU with Matlab R2015a: dispatcher:loadLibrary Can't load gpu.dll

1 回表示 (過去 30 日間)
Sascha Langener
Sascha Langener 2015 年 4 月 20 日
回答済み: Cindy Solomon 2015 年 4 月 22 日
I have a fresh installation of Matlab R2015a with all necessary toolboxes installed (I think), but can't use my GPU, because I get the following error right at the start of my script:
>> gpuDevice()
MATLAB:dispatcher:loadLibrary Can't load 'C:\Program Files\MATLAB\R2015a\bin\win64\gpu.dll': C:\Program Files\MATLAB\R2015a\bin\win64\gpu.dll ist keine zulässige Win32-Anwendung.
. Caught MathWorks::System::FatalException >>
(ist keine zulässige Win32-Anwendung translates-> Not a valid Win32 application)
OS is Windows 7 64bit Service Pack 1.
Any ideas about what might be wrong are very much appreciated as I am totally at a loss.
Thanks
  1 件のコメント
Edric Ellis
Edric Ellis 2015 年 4 月 21 日
This looks like an installation problem (I would expect a different error if you didn't have an appropriate CUDA driver installed), so I suggest contacting MathWorks support.

サインインしてコメントする。

回答 (1 件)

Cindy Solomon
Cindy Solomon 2015 年 4 月 22 日
Hi Sascha,
Judging from the error message, it seems like MATLAB is trying to load a 32-bit dll into 64-bit MATLAB, which is not a supported workflow. Try double-checking the bitness of your 'gpu.dll' and using a 64-bit dll to fix the issue.
Hope this helps!

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by