0

I need gpu information for my cuda project test.

I am using nvml library, and I successfully get temperature information. But, nvml reports ERROR_NOT_SUPPORTED in nvmlDeviceGetUtilizationRates().

So now, how to get utilization rates of gpu? Clearly, there will be a way like NVIDIA GeForce Experience.

thanks,

p.s. oops! I am insufficient reputation... If you want to see NVIDIA GeForce Experience example image, click this link.

4

2 に答える 2

0

nvidia カードの Linux での GPU 使用率を確認するには、次を使用します。

nvidia-smi

-l を使用してリフレッシュします。

nvidia-smi -l 1

これは 1 秒ごとに更新されます。

于 2016-03-15T03:55:59.503 に答える
0

グラフィック カード、GTX Titan (イメージに基づく) は、単に揮発性 GPU の使用をサポートしていないのでしょうか?
この機能は、Quadro および Tesla カードでのみサポートされていると思います。

さらに、コードで nvml を使用する方法を示してもらえますか?

于 2014-04-23T17:12:19.707 に答える