rtcSetDeviceSYCLDevice(3) Embree Ray Tracing Kernels 4 rtcSetDeviceSYCLDevice(3)

rtcSetDeviceSYCLDevice - sets the SYCL device to be used for memory allocations

#include <embree4/rtcore.h>
void rtcSetDeviceSYCLDevice(RTCDevice device, const sycl::device sycl_device);

This function sets the SYCL device (sycl_device argument) to be used to allocate GPU memory when using the specified Embree device (device argument). This SYCL device must be one of the SYCL devices contained inside the SYCL context used to create the Embree device.

On failure an error code is set that can get queried using rtcGetDeviceError.

[rtcNewSYCLDevice]