.\" Automatically generated by Pandoc 2.9.2.1 .\" .TH "rtcSetDeviceSYCLDevice" "3" "" "" "Embree Ray Tracing Kernels 4" .hy .SS NAME .IP .nf \f[C] rtcSetDeviceSYCLDevice - sets the SYCL device to be used for memory allocations \f[R] .fi .SS SYNOPSIS .IP .nf \f[C] #include void rtcSetDeviceSYCLDevice(RTCDevice device, const sycl::device sycl_device); \f[R] .fi .SS DESCRIPTION .PP This function sets the SYCL device (\f[C]sycl_device\f[R] argument) to be used to allocate GPU memory when using the specified Embree device (\f[C]device\f[R] argument). This SYCL device must be one of the SYCL devices contained inside the SYCL context used to create the Embree device. .SS EXIT STATUS .PP On failure an error code is set that can get queried using \f[C]rtcGetDeviceError\f[R]. .SS SEE ALSO .PP [rtcNewSYCLDevice]