Open3D (C++ API)  0.11.0
Namespaces | Macros | Functions
CUDAUtils.h File Reference

(9e9d7e4b (Tue Sep 1 01:46:34 2020 -0700))

Common CUDA utilities. More...

#include "open3d/utility/Console.h"

Go to the source code of this file.

Namespaces

 open3d
 
 open3d::core
 
 open3d::core::cuda
 

Macros

#define OPEN3D_HOST_DEVICE
 
#define OPEN3D_DEVICE
 
#define OPEN3D_ASSERT_HOST_DEVICE_LAMBDA(type)
 
#define OPEN3D_CUDA_CHECK(err)
 
#define OPEN3D_GET_LAST_CUDA_ERROR(message)
 

Functions

int open3d::core::cuda::DeviceCount ()
 
bool open3d::core::cuda::IsAvailable ()
 
void open3d::core::cuda::ReleaseCache ()
 

Detailed Description

Common CUDA utilities.

CUDAUtils.h may be included from CPU-only code. Use #ifdef CUDACC to mark conitional compilation

Macro Definition Documentation

◆ OPEN3D_ASSERT_HOST_DEVICE_LAMBDA

#define OPEN3D_ASSERT_HOST_DEVICE_LAMBDA (   type)

◆ OPEN3D_CUDA_CHECK

#define OPEN3D_CUDA_CHECK (   err)

◆ OPEN3D_DEVICE

#define OPEN3D_DEVICE

◆ OPEN3D_GET_LAST_CUDA_ERROR

#define OPEN3D_GET_LAST_CUDA_ERROR (   message)

◆ OPEN3D_HOST_DEVICE

#define OPEN3D_HOST_DEVICE