rtcIsSYCL...Supported(3)

πŸ“¦
version 4.4.1 Β· 3 versions
, in ubuntu stonking

✨ rtcIsSYCLDeviceSupported ✨

okay bestie, welcome to rtcIsSYCL...Supported(3) β€” yes that's the manual page name, it's giving "we ran out of room in the header" but we move πŸ’… this is one of the Embree Ray Tracing Kernels pages, and she's short, she's sweet, and she's lowkey important.


🌸 NAME 🌸

rtcIsSYCLDeviceSupported β€” checks if some SYCL device is supported by Embree πŸ’–


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <embree4/rtcore.h>

bool rtcIsSYCLDeviceSupported(const sycl::device sycl_device);

πŸ’« DESCRIPTION πŸ’«

So here's the vibe: this function is your lil vibe check for SYCL devices. You call it, you hand it a sycl_device (that's the sycl_device argument, bestie), and it tells you whether that specific SYCL device is supported by Embree. That's it. That's the whole function. No cap. ✨


πŸŽ€ EXIT STATUS πŸŽ€

  • returns true when the SYCL device is supported by Embree πŸ‘‘
  • returns false when it's not πŸ™ˆ
⚠️ and if it fails, an error code gets set, which you can go query with rtcGetDeviceError. don't sleep on that error code, fr fr β€” she's got the tea on what went wrong. πŸ“

πŸ‘‘ SEE ALSO πŸ‘‘

  • [rtcSYCLDeviceSelector]

k byeeee 🫢 this was rtcIsSYCL...Supported(3) from Embree Ray Tracing Kernels 4 β€” go forth and check ur devices, bestie, you're literally the main character of this ray tracer πŸ’œπŸ§šπŸ’–

πŸ“¦ where this page comes from