Open3D (C++ API)  0.19.0
Loading...
Searching...
No Matches
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
20namespace open3d {
21namespace core {
22namespace sy {
23
26int SYCLDemo();
27
32void PrintSYCLDevices(bool print_all = false);
33
35bool IsAvailable();
36
38bool IsDeviceAvailable(const Device& device);
39
42std::string GetDeviceType(const Device& device);
43
45std::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