ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
SYCLUtils.h File Reference

Common SYCL utilities. More...

#include <vector>
#include "cloudViewer/core/Device.h"
Include dependency graph for SYCLUtils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 cloudViewer
 Generic file read and write utility for python interface.
 
 cloudViewer::core
 
 cloudViewer::core::sy
 

Functions

int cloudViewer::core::sy::SYCLDemo ()
 
void cloudViewer::core::sy::PrintSYCLDevices (bool print_all)
 
bool cloudViewer::core::sy::IsAvailable ()
 Returns true if there is at least one SYCL device available. More...
 
bool cloudViewer::core::sy::IsDeviceAvailable (const Device &device)
 Returns true if the specified SYCL device is available. More...
 
std::string cloudViewer::core::sy::GetDeviceType (const Device &device)
 
std::vector< Device > cloudViewer::core::sy::GetAvailableSYCLDevices ()
 Return a list of available SYCL devices. More...
 
size_t cloudViewer::core::sy::GetDeviceCount ()
 Return the number of available SYCL devices. More...
 
void cloudViewer::core::sy::enablePersistentJITCache ()
 

Detailed Description

Common SYCL utilities.

SYCLUtils.h and SYCLUtils.cpp should compile when BUILD_SYCL_MODULE=ON or BUILD_SYCL_MODULE=OFF. Use macros for conditional compilation.

Definition in file SYCLUtils.h.