Annotate GPU markers in constants doc with type caveat

This commit is contained in:
Matt Borland 2024-08-30 15:46:33 -04:00
parent 814cb6e49f
commit 82adb328e7
No known key found for this signature in database
GPG Key ID: 193A1AC00C4C6027

View File

@ -227,6 +227,11 @@ either construct from a decimal digit string or calculate on the fly depending u
[[Any other value ['N]][Sets the compile time precision to ['N] bits.]]
]
[h5 GPU Support]
All Boost.Math constants are marked with `BOOST_MATH_GPU_ENABLED` and can be used on both host and device.
Note that when running on device you are limited to using only `float` and `double` types.
[h5 Custom Specializing a constant]
In addition, for user-defined types that need special handling, it's possible to partially-specialize