Open3D (C++ API)  0.19.0
Loading...
Searching...
No Matches
Namespaces | Functions | Variables
BlockCopyDispatch.h File Reference

(bba9247 (Tue Jul 28 21:42:19 2026 -0700))

Vectorized trivial-object copy block sizes (CUDA and SYCL). More...

#include <cstdint>

Go to the source code of this file.

Namespaces

namespace  open3d
 
namespace  open3d::core
 

Functions

int64_t open3d::core::GetLargestAlignedObjectBlockSize (int64_t object_byte_size)
 Largest entry in kBlockCopyDivisors that divides object_byte_size.
 

Variables

constexpr int64_t open3d::core::kBlockCopyDivisors [] = {64, 16, 12, 4, 1}
 

Detailed Description

Vectorized trivial-object copy block sizes (CUDA and SYCL).

kBlockCopyDivisors selects the widest vector load/store type that divides an object byte size. Used for hash-map SoA buffers, Dtype::Object index get/set, and non-contiguous SYCL tensor copies of object dtypes.