Qiita Teams that are logged in
You are not logged in to any team

Log in to Qiita Team
Community
OrganizationEventAdvent CalendarQiitadon (β)
Service
Qiita JobsQiita ZineQiita Blog
0
Help us understand the problem. What are the problem?

More than 1 year has passed since last update.

@fockl

NVIDIA Visual Profiler "nvvp" を使おうとしたら起きたエラーと対処法

はじめに

タイトル通り,NVIDIAのprofile用のGUIアプリであるNVIDIA Visual Profiler (nvvp) を使おうとして起きたエラーとその対処法お話です.

環境

MacOS High Sierra

何が起こったか

CUDA Toolkit 10.2 (当記事執筆時点での最新版)をダウンロードしてnvvpを起動,nvprofでprofileした結果をimport後,Finishでloadする際


CUPTI initialization Failed

Unable to locate CUPTI library

等とエラーが発生
(エラー画像は撮るの忘れました.すみません.)

(ダウンロード等の詳しいことはHiroki11xさんのNVIDIA Visual Profiler 入門が詳しいです)

対処法

[CUPTIの説明ページ]に


CUPTI calls will fail with CUPTI_ERROR_NOT_INITIALIZED if the CUDA driver version is not compatible with the CUPTI version.

とあったので,CUDAのdriverとCUPTIのversionが合ってないと推測
CUDA Toolkit 10.2 を消去し,"CUPTI install"で検索をかけて出てきたCUDA Toolkit 10.1 Update 1 をダウンロードしたら動作しました.

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
0
Help us understand the problem. What are the problem?