calibration_tools_v1.0/lidar_driver/include/open3d/utility/Parallel.h
2025-02-20 10:45:17 +08:00

21 lines
683 B
C++

// ----------------------------------------------------------------------------
// - Open3D: www.open3d.org -
// ----------------------------------------------------------------------------
// Copyright (c) 2018-2023 www.open3d.org
// SPDX-License-Identifier: MIT
// ----------------------------------------------------------------------------
#pragma once
namespace open3d {
namespace utility {
/// Estimate the maximum number of threads to be used in a parallel region.
int EstimateMaxThreads();
/// Returns true if in an parallel section.
bool InParallel();
} // namespace utility
} // namespace open3d