Open3D (C++ API)  0.19.0
Loading...
Searching...
No Matches
Data Structures | Functions
open3d::core::sy Namespace Reference

Data Structures

struct  SYCLDevice
 Cached SYCL device properties (no SYCL runtime types in this struct). More...
 

Functions

int SYCLDemo ()
 
void PrintSYCLDevices (bool print_all)
 
bool IsAvailable ()
 Returns true if there is at least one SYCL device available.
 
bool IsDeviceAvailable (const Device &device)
 Returns true if the specified SYCL device is available.
 
SYCLDevice GetSYCLDeviceProperties (const Device &device)
 
bool IsCPUDevice (const Device &device)
 
std::vector< DeviceGetAvailableSYCLDevices ()
 Return a list of available SYCL devices.
 
void enablePersistentJITCache ()
 
size_t GetDeviceCount ()
 Return the number of available SYCL devices.
 

Function Documentation

◆ enablePersistentJITCache()

void open3d::core::sy::enablePersistentJITCache ( )

Enables the JIT cache for SYCL. This sets an environment variable and will affect the entire process and any child processes.

◆ GetAvailableSYCLDevices()

std::vector< Device > open3d::core::sy::GetAvailableSYCLDevices ( )

Return a list of available SYCL devices.

◆ GetDeviceCount()

size_t open3d::core::sy::GetDeviceCount ( )
inline

Return the number of available SYCL devices.

◆ GetSYCLDeviceProperties()

SYCLDevice open3d::core::sy::GetSYCLDeviceProperties ( const Device device)

Returns cached properties from SYCLContext when SYCL is built, else a default-initialized SYCLDevice.

◆ IsAvailable()

bool open3d::core::sy::IsAvailable ( )

Returns true if there is at least one SYCL device available.

◆ IsCPUDevice()

bool open3d::core::sy::IsCPUDevice ( const Device device)

Returns true if device is the SYCL CPU fallback (used when no SYCL GPU is available, e.g. in CI). Some SYCL kernels don't support this device.

◆ IsDeviceAvailable()

bool open3d::core::sy::IsDeviceAvailable ( const Device device)

Returns true if the specified SYCL device is available.

◆ PrintSYCLDevices()

void open3d::core::sy::PrintSYCLDevices ( bool  print_all = false)

Print available SYCL devices.

Parameters
print_allIf true, prints all SYCL devices. Otherwise, prints only devices that are available for Open3D.

◆ SYCLDemo()

int open3d::core::sy::SYCLDemo ( )

Runs simple SYCL test program for sanity checks.

Returns
Retuns 0 if successful.