Open3D (C++ API)  0.18.0+0cf605f
Public Member Functions
open3d::core::CUDAScopedDevice Class Reference

When CUDA is not enabled, this is a dummy class. More...

#include <CUDAUtils.h>

Public Member Functions

 CUDAScopedDevice (int device_id)
 
 CUDAScopedDevice (const Device &device)
 
 ~CUDAScopedDevice ()
 
 CUDAScopedDevice (const CUDAScopedDevice &)=delete
 
CUDAScopedDeviceoperator= (const CUDAScopedDevice &)=delete
 

Detailed Description

When CUDA is not enabled, this is a dummy class.

Constructor & Destructor Documentation

◆ CUDAScopedDevice() [1/3]

open3d::core::CUDAScopedDevice::CUDAScopedDevice ( int  device_id)
inlineexplicit

◆ CUDAScopedDevice() [2/3]

open3d::core::CUDAScopedDevice::CUDAScopedDevice ( const Device device)
inlineexplicit

◆ ~CUDAScopedDevice()

open3d::core::CUDAScopedDevice::~CUDAScopedDevice ( )
inline

◆ CUDAScopedDevice() [3/3]

open3d::core::CUDAScopedDevice::CUDAScopedDevice ( const CUDAScopedDevice )
delete

Member Function Documentation

◆ operator=()

CUDAScopedDevice& open3d::core::CUDAScopedDevice::operator= ( const CUDAScopedDevice )
delete

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