Caffe2 - C++ API
A deep learning, cross platform ML framework
Public Member Functions
c10::hip::OptionalHIPGuardMasqueradingAsCUDA Struct Reference

Public Member Functions

 OptionalHIPGuardMasqueradingAsCUDA (optional< Device > device_opt)
 
 OptionalHIPGuardMasqueradingAsCUDA (optional< DeviceIndex > device_index_opt)
 
 OptionalHIPGuardMasqueradingAsCUDA (const OptionalHIPGuardMasqueradingAsCUDA &)=delete
 
OptionalHIPGuardMasqueradingAsCUDAoperator= (const OptionalHIPGuardMasqueradingAsCUDA &)=delete
 
 OptionalHIPGuardMasqueradingAsCUDA (OptionalHIPGuardMasqueradingAsCUDA &&other)=delete
 
OptionalHIPGuardMasqueradingAsCUDAoperator= (OptionalHIPGuardMasqueradingAsCUDA &&other)=delete
 
void set_device (Device device)
 
void reset_device (Device device)
 
void set_index (DeviceIndex device_index)
 
optional< Deviceoriginal_device () const
 
optional< Devicecurrent_device () const
 
void reset ()
 

Detailed Description

Definition at line 126 of file HIPGuardImplMasqueradingAsCUDA.h.


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