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

(313315d (Wed Dec 23 23:39:47 2020 -0800))

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