フィルターのクリア

Why do I get the error "UnknownSe​rverPort_D​iagnostics - 0" when running gpucoder.profile on Windows?

2 ビュー (過去 30 日間)
When running gpucoder.profile, I receive an error output that looks like this:
UnknownServerPort_Diagnostics - 0
UnknownServerPort_Diagnostics - 1
UnknownServerPort_Diagnostics - 2
Error using gpucoder.profile (line 41)
Could not parse server port number from application output:
To manually test launching the executable run the command line:
C:\Temp\foo\codegen\dll\foo\sil\foo.exe
-port 0 -blocking 1.

採用された回答

Erik Meade
Erik Meade 2021 年 6 月 21 日
Ensure that you have a proper installation of nvprof.exe from Nvidia. All versions of MATLAB prior to and including R2021a use nvprof.exe to perform gpucoder.profile. An easy way to ensure that nvprof.exe is installed properly is to simply open up a Command Prompt window and run you local nvprof.exe installation.
nvprof.exe relies on several DLL's from Nvidia, such as the CUPTI (CUDA Profiling Tools Interface) DLL. Verify that your nvprof.exe has run properly by calling:
nvprof.exe --version
If it has been properly installed, you should see corresponding version information, otherwise, if you see a missing DLL error or if the error returns a Windows error code of -1073741515 (0xc0000135), then nvprof.exe has not been properly installed. Follow instructions for installing nvprof at the Nvidia website.
Once you are able to run nvprof.exe from a command prompt window, you should be able to run gpucoder.profile with no problem!

その他の回答 (0 件)

カテゴリ

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

製品


リリース

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by