1rtcSetDeviceSYCLDevice(3)Embree Ray Tracing Kernels 4rtcSetDeviceSYCLDevice(3)
2
3
4
5 NAME
6 rtcSetDeviceSYCLDevice - sets the SYCL device to be used for memory allocations
7
8 SYNOPSIS
9 #include <embree4/rtcore.h>
10
11 void rtcSetDeviceSYCLDevice(RTCDevice device, const sycl::device sycl_device);
12
13 DESCRIPTION
14 This function sets the SYCL device (sycl_device argument) to be used to
15 allocate GPU memory when using the specified Embree device (device ar‐
16 gument). This SYCL device must be one of the SYCL devices contained
17 inside the SYCL context used to create the Embree device.
18
19 EXIT STATUS
20 On failure an error code is set that can get queried using rtcGetDe‐
21 viceError.
22
23 SEE ALSO
24 [rtcNewSYCLDevice]
25
26
27
28 rtcSetDeviceSYCLDevice(3)