小编bou*_*bon的帖子

windows下运行nvprof --metrics命令报错?cuda分析错误

windows下运行nvprof --metrics命令报错\xef\xbc\x9a

\n\n
==6580== NVPROF is profiling process 6580, command: Project1.exe\n==6580== Error: Internal profiling error 4292:1.\n======== Error: CUDA profiling error.\n
Run Code Online (Sandbox Code Playgroud)\n\n

错误1

\n\n

如果我只使用nvprof命令,不会报错\xef\xbc\x9a

\n\n
F:\\vstest\\Project1\\x64\\Release>nvprof Project1.exe\n==384== NVPROF is profiling process 384, command: Project1.exe\nsumMatrixOnGPU2D <<<(512,512), (32,32)>>> elapsed 22 ms\n==384== Profiling application: Project1.exe\n==384== Profiling result:\n            Type  Time(%)      Time     Calls       Avg       Min       Max  Name\n GPU activities:   61.28%  538.11ms         2  269.06ms  260.98ms  277.13ms  [CUDA memcpy HtoD]\n                   36.29%  318.68ms         1  318.68ms  318.68ms  318.68ms  [CUDA memcpy DtoH]\n                    2.43%  21.364ms         1  21.364ms  21.364ms  21.364ms  sumMatrixOnGPU2D(float*, float*, …
Run Code Online (Sandbox Code Playgroud)

metrics cuda nvprof

2
推荐指数
1
解决办法
1562
查看次数

标签 统计

cuda ×1

metrics ×1

nvprof ×1