Open3D (C++ API)  0.18.0+252c867
Namespaces | Macros | Functions
LinalgUtils.h File Reference

(252c867 (Sun May 5 05:39:34 2024 +0000))

#include <string>
#include "open3d/core/Device.h"
#include "open3d/core/Dtype.h"
#include "open3d/core/MemoryManager.h"
#include "open3d/core/linalg/LinalgHeadersCPU.h"
#include "open3d/core/linalg/LinalgHeadersCUDA.h"
#include "open3d/utility/Logging.h"

Go to the source code of this file.

Namespaces

 open3d
 
 open3d::core
 

Macros

#define DISPATCH_LINALG_DTYPE_TO_TEMPLATE(DTYPE, ...)
 

Functions

void open3d::core::OPEN3D_LAPACK_CHECK (OPEN3D_CPU_LINALG_INT info, const std::string &msg)
 

Macro Definition Documentation

◆ DISPATCH_LINALG_DTYPE_TO_TEMPLATE

#define DISPATCH_LINALG_DTYPE_TO_TEMPLATE (   DTYPE,
  ... 
)
Value:
[&] { \
if (DTYPE == open3d::core::Float32) { \
using scalar_t = float; \
return __VA_ARGS__(); \
} else if (DTYPE == open3d::core::Float64) { \
using scalar_t = double; \
return __VA_ARGS__(); \
} else { \
utility::LogError("Unsupported data type."); \
} \
}()
#define LogError(...)
Definition: Logging.h:48
const Dtype Float64
Definition: Dtype.cpp:43
const Dtype Float32
Definition: Dtype.cpp:42
const char const char value recording_handle imu_sample recording_handle uint8_t size_t data_size k4a_record_configuration_t config target_format k4a_capture_t capture_handle k4a_imu_sample_t imu_sample playback_handle k4a_logging_message_cb_t void min_level device_handle k4a_imu_sample_t timeout_in_ms capture_handle capture_handle capture_handle image_handle float
Definition: K4aPlugin.cpp:460