Open3D (C++ API)  0.19.0
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
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 
42 std::string GetDeviceType(const Device& device);
43 
45 std::vector<Device> GetAvailableSYCLDevices();
46 
50 
51 } // namespace sy
52 } // namespace core
53 } // namespace open3d
void PrintSYCLDevices(bool print_all)
Definition: SYCLUtils.cpp:121
std::vector< Device > GetAvailableSYCLDevices()
Return a list of available SYCL devices.
Definition: SYCLUtils.cpp:229
void enablePersistentJITCache()
Definition: SYCLUtils.cpp:237
int SYCLDemo()
Definition: SYCLUtils.cpp:34
std::string GetDeviceType(const Device &device)
Definition: SYCLUtils.cpp:215
bool IsAvailable()
Returns true if there is at least one SYCL device available.
Definition: SYCLUtils.cpp:199
bool IsDeviceAvailable(const Device &device)
Returns true if the specified SYCL device is available.
Definition: SYCLUtils.cpp:207
Definition: PinholeCameraIntrinsic.cpp:16