Open3D (C++ API)
0.18.0
|
#include <SYCLContext.h>
Public Member Functions | |
SYCLContext (SYCLContext const &)=delete | |
void | operator= (SYCLContext const &)=delete |
bool | IsAvailable () |
Returns true if there is at least one SYCL devices. More... | |
bool | IsDeviceAvailable (const Device &device) |
Returns true if the specified SYCL device is available. More... | |
std::vector< Device > | GetAvailableSYCLDevices () |
Returns a list of all available SYCL devices. More... | |
sy::queue | GetDefaultQueue (const Device &device) |
Get the default SYCL queue given an Open3D device. More... | |
Static Public Member Functions | |
static SYCLContext & | GetInstance () |
Get singleton instance. More... | |
Singleton SYCL context manager. It maintains:
|
delete |
std::vector< Device > open3d::core::sycl::SYCLContext::GetAvailableSYCLDevices | ( | ) |
Returns a list of all available SYCL devices.
sy::queue open3d::core::sycl::SYCLContext::GetDefaultQueue | ( | const Device & | device | ) |
Get the default SYCL queue given an Open3D device.
|
static |
Get singleton instance.
bool open3d::core::sycl::SYCLContext::IsAvailable | ( | ) |
Returns true if there is at least one SYCL devices.
bool open3d::core::sycl::SYCLContext::IsDeviceAvailable | ( | const Device & | device | ) |
Returns true if the specified SYCL device is available.
|
delete |