pytorch/c10
Ilia Cherniavskii 047ae6b713 [profiler][small] CUDA synchronize guard, minor fix (#58254)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/58254

Don't use CUDA synchronize when profiling in CPU only mode.
minor fixes (a clarification for a doc string, fix spammy logging)

(Note: this ignores all push blocking failures!)

Test Plan: manual + CI

Reviewed By: gdankel, chaekit

Differential Revision: D28423667

Pulled By: ilia-cher

fbshipit-source-id: 04c71727f528ae8e2e0ff90e88271608d291bc69
2021-05-13 19:21:56 -07:00
..
benchmark [PyTorch] Autoformat c10 (#56830) 2021-04-30 21:23:28 -07:00
core [profiler][small] CUDA synchronize guard, minor fix (#58254) 2021-05-13 19:21:56 -07:00
cuda [Caffe2] Introduce c10::CudaError for CUDA Exceptions (#57609) 2021-05-06 14:28:45 -07:00
hip Formatting cmake (to lowercase without space for if/elseif/else/endif) (#35521) 2020-03-27 14:25:17 -07:00
macros Improve BatchNorm1d performance (CUDA) (#57786) 2021-05-08 19:09:29 -07:00
mobile [PyTorch] Autoformat c10 (#56830) 2021-04-30 21:23:28 -07:00
test [AutoAccept][Codemod][FBSourceClangFormatLinter] Daily arc lint --take CLANGFORMAT 2021-05-10 03:39:31 -07:00
util Combine backtrace print into one string to avoid interleaving. (#56961) 2021-05-12 15:52:05 -07:00
CMakeLists.txt Combine backtrace print into one string to avoid interleaving. (#56961) 2021-05-12 15:52:05 -07:00