From 37c492e41115012991fb0de62f8249966624d122 Mon Sep 17 00:00:00 2001 From: Matt Borland Date: Fri, 26 Sep 2025 08:20:41 +0200 Subject: [PATCH] Add doc note that SYCL support is opt-in --- doc/overview/gpu.qbk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/overview/gpu.qbk b/doc/overview/gpu.qbk index 7fb27e645..58df868a6 100644 --- a/doc/overview/gpu.qbk +++ b/doc/overview/gpu.qbk @@ -54,6 +54,9 @@ And lastly on SYCL: }); } +When using SYCL you must define BOOST_MATH_ENABLE_SYCL, since device support is opt-in on that platform. +For NVCC and NVRTC device support is enabled automatically. + Once your kernel function has been written then use the framework mechanism for launching the kernel. [endsect] [/section:gpu Support for GPU programming in Boost.Math]