NVlabs / NVBit

220 stars 20 forks source link

Using Nvbit for a specific region of code #113

Open mahmoodn opened 1 year ago

mahmoodn commented 1 year ago

Hi Is there anyway to invoke nvbit instrumentation at a specific section? For example, in Nsight Compute, it is possible to mark start and finish regions with

    cudaProfilerStart();
    mlperf::StartTest(sut.get(), qsl.get(), test_settings, log_settings);
    cudaProfilerStop();

and then execute the profiler with --profile-from-start off. Is there a similar way with Nvbit?