Home / Class/ WarningState Class — pytorch Architecture

WarningState Class — pytorch Architecture

Architecture documentation for the WarningState class in CUDAFunctions.h from the pytorch codebase.

Entity Profile

Source Code

c10/cuda/CUDAFunctions.h lines 58–70

class WarningState {
 public:
  void set_sync_debug_mode(SyncDebugMode l) {
    sync_debug_mode = l;
  }

  SyncDebugMode get_sync_debug_mode() {
    return sync_debug_mode;
  }

 private:
  SyncDebugMode sync_debug_mode = SyncDebugMode::L_DISABLED;
};

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free