Hello!

In the pycuda head the driver.start_profiler and driver.stop_profiler
functions refer to the same cuda driver api function. Please find
attached a small patch which enables stopping the profiler again.

Regards,
Balazs

diff --git a/src/cpp/cuda.hpp b/src/cpp/cuda.hpp
index dfba9d3..87ff1f3 100644
--- a/src/cpp/cuda.hpp
+++ b/src/cpp/cuda.hpp
@@ -1898,7 +1898,7 @@ namespace pycuda
 
   inline void stop_profiler()
   {
-    CUDAPP_CALL_GUARDED(cuProfilerStart, ());
+    CUDAPP_CALL_GUARDED(cuProfilerStop, ());
   }
 #endif
   // }}}
_______________________________________________
PyCUDA mailing list
[email protected]
http://lists.tiker.net/listinfo/pycuda

Reply via email to