singa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [singa] chrishkchris commented on a change in pull request #694: SINGA-510 Add Time Profiling for Single GPU
Date Wed, 20 May 2020 10:00:05 GMT

chrishkchris commented on a change in pull request #694:
URL: https://github.com/apache/singa/pull/694#discussion_r427889074



##########
File path: include/singa/core/device.h
##########
@@ -51,6 +51,17 @@ using std::vector;
 
 namespace singa {
 
+/// Method used by time profiling
+/// ProfilingMode == 0 (default) -> Chrono
+/// ProfilingMode == 1 -> Event (e.g. cudaEvent)
+enum ProfilingMode { useChrono, useEvent };

Review comment:
       I have removed the profiling mode, now cpu use chrono, gpu use cudaevent




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



Mime
View raw message