Open3D (C++ API)
0.19.0
Loading...
Searching...
No Matches
cpp
open3d
core
hashmap
CUDA
Namespaces
|
Macros
SlabMacros.h File Reference
#include <cstdint>
#include "
open3d/core/CUDAUtils.h
"
Go to the source code of this file.
Namespaces
namespace
open3d
namespace
open3d::core
Macros
#define
MEMCPY_AS_INTS
(dst, src, num_bytes)
Macro Definition Documentation
◆
MEMCPY_AS_INTS
#define MEMCPY_AS_INTS
(
dst,
src,
num_bytes
)
Value:
auto
dst_in_int =
reinterpret_cast<
int
*
>
(dst); \
auto
src_in_int =
reinterpret_cast<
const
int
*
>
(src); \
int
count_in_int = num_bytes /
sizeof
(int); \
for (
int
i = 0; i < count_in_int; ++i) { \
dst_in_int[i] = src_in_int[i]; \
}
Generated by
1.9.8