Dragon - C++ API
A Computation Graph Virtual Machine Based Deep Learning Framework
Public Member Functions | List of all members
dragon::DeviceGuard Class Reference

#include <cuda_device.h>

Public Member Functions

 DeviceGuard (int new_id)
 
 ~DeviceGuard ()
 

Constructor & Destructor Documentation

◆ DeviceGuard()

dragon::DeviceGuard::DeviceGuard ( int  new_id)
inline

◆ ~DeviceGuard()

dragon::DeviceGuard::~DeviceGuard ( )
inline

The documentation for this class was generated from the following file: