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

Common CUDA utilities. More...

#include "Open3D/Utility/Console.h"

Go to the source code of this file.

Namespaces

 open3d
 
 open3d::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::cuda::DeviceCount ()
 
bool open3d::cuda::IsAvailable ()
 

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