2
0
mirror of https://github.com/boostorg/math.git synced 2026-01-19 04:22:09 +00:00

Add doc note that SYCL support is opt-in

This commit is contained in:
Matt Borland
2025-09-26 08:20:41 +02:00
parent d1b394817b
commit 37c492e411

View File

@@ -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. 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] [endsect] [/section:gpu Support for GPU programming in Boost.Math]