Open3D (C++ API)  0.18.0
SYCLUtils.h
Go to the documentation of this file.
1 // ----------------------------------------------------------------------------
2 // - Open3D: www.open3d.org -
3 // ----------------------------------------------------------------------------
4 // Copyright (c) 2018-2023 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 sycl {
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 
43 } // namespace sycl
44 } // namespace core
45 } // namespace open3d
bool IsDeviceAvailable(const Device &device)
Returns true if the specified SYCL device is available.
Definition: SYCLUtils.cpp:214
void PrintSYCLDevices(bool print_all)
Definition: SYCLUtils.cpp:122
std::vector< Device > GetAvailableSYCLDevices()
Return a list of available SYCL devices.
Definition: SYCLUtils.cpp:222
bool IsAvailable()
Returns true if there is at least one SYCL device available.
Definition: SYCLUtils.cpp:206
int SYCLDemo()
Definition: SYCLUtils.cpp:38
Definition: PinholeCameraIntrinsic.cpp:16