Open3D (C++ API)  0.17.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
20namespace open3d {
21namespace core {
22namespace sycl {
23
26int SYCLDemo();
27
32void PrintSYCLDevices(bool print_all = false);
33
35bool IsAvailable();
36
38bool IsDeviceAvailable(const Device& device);
39
41std::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