Open3D (C++ API)  0.18.0+601516a
SYCLUtils.h
Go to the documentation of this file.
1 // ----------------------------------------------------------------------------
2 // - Open3D: www.open3d.org -
3 // ----------------------------------------------------------------------------
4 // Copyright (c) 2018-2024 www.open3d.org
5 // SPDX-License-Identifier: MIT
6 // ----------------------------------------------------------------------------
7 
13 
14 #pragma once
15 
16 #include <vector>
17 
18 #include "open3d/core/Device.h"
19 
20 namespace open3d {
21 namespace core {
22 namespace sy {
23 
26 int SYCLDemo();
27 
32 void PrintSYCLDevices(bool print_all = false);
33 
35 bool IsAvailable();
36 
38 bool IsDeviceAvailable(const Device& device);
39 
41 std::vector<Device> GetAvailableSYCLDevices();
42 
46 
47 } // namespace sy
48 } // namespace core
49 } // namespace open3d
void PrintSYCLDevices(bool print_all)
Definition: SYCLUtils.cpp:119
std::vector< Device > GetAvailableSYCLDevices()
Return a list of available SYCL devices.
Definition: SYCLUtils.cpp:213
void enablePersistentJITCache()
Definition: SYCLUtils.cpp:221
int SYCLDemo()
Definition: SYCLUtils.cpp:34
bool IsAvailable()
Returns true if there is at least one SYCL device available.
Definition: SYCLUtils.cpp:197
bool IsDeviceAvailable(const Device &device)
Returns true if the specified SYCL device is available.
Definition: SYCLUtils.cpp:205
Definition: PinholeCameraIntrinsic.cpp:16