2
0
mirror of https://github.com/boostorg/math.git synced 2026-01-30 08:02:11 +00:00
Commit Graph

3334 Commits

Author SHA1 Message Date
Matt Borland
433e30d9d2 Add GPU support to distribution common error handling 2024-07-24 16:42:56 -04:00
Matt Borland
f3f03c8f83 Adjust default policy for GPU cases 2024-07-23 13:23:18 -04:00
Matt Borland
7c9c76101a Remove SYCL macros from errno calls 2024-07-23 13:23:07 -04:00
Matt Borland
38596e29d3 Reactivate domain error for beta 2024-07-23 13:22:51 -04:00
Matt Borland
47282d3af5 Changes to allow beta on SYCL 2024-07-23 08:12:38 -04:00
Matt Borland
4f555750f9 Disable SSE2 lanczos on GPU 2024-07-23 08:12:30 -04:00
Matt Borland
15bade2426 Allow beta to be used on GPU 2024-07-23 08:12:23 -04:00
Matt Borland
50d01bf067 Apply GPU to rationals and series evaluations 2024-07-23 08:12:17 -04:00
Matt Borland
910775040b Add support for lanczos and change storage duration 2024-07-23 08:12:12 -04:00
Matt Borland
d9c4fab159 Markup big_constant 2024-07-23 08:12:05 -04:00
Matt Borland
23b6d289ad Add precision helper functions 2024-07-23 08:12:00 -04:00
Matt Borland
b39f01db24 Add log1p GPU support 2024-07-23 08:11:53 -04:00
Matt Borland
282a40191d Add GPU safe max, min, and swap function macros 2024-07-23 08:11:46 -04:00
Matt Borland
04c33f8cad Add additional overflow error overloads 2024-07-23 08:11:33 -04:00
Matt Borland
8594af7ad0 Update polynomial and rationals 2024-07-23 08:11:22 -04:00
Matt Borland
235f5c9ffc Replace static const char* with constexpr auto 2024-07-23 08:10:54 -04:00
Matt Borland
2bb07f2a57 Disable calls to errno with SYCL 2024-07-23 08:10:44 -04:00
Matt Borland
1d6c5765e8 Limit binomial distribution to CUDA 2024-07-23 08:10:33 -04:00
Matt Borland
14d5b3b2f8 Refactor macros for SYCL limited support 2024-07-23 08:10:23 -04:00
Matt Borland
dee1c40420 Rename GPU macros 2024-07-23 08:10:12 -04:00
Matt Borland
d3e93ad4ed Add sycl configuration options 2024-07-23 08:10:03 -04:00
Matt Borland
301637c097 Specialize epsilon functions 2024-07-23 08:09:43 -04:00
Matt Borland
2481c0dd45 Disable exceptions for device code 2024-07-23 08:09:32 -04:00
Matt Borland
bb0716d3af Mark constants as CUDA 2024-07-23 08:09:24 -04:00
Matt Borland
fbf5a7f15e Replace use of std::string with char* 2024-07-23 08:09:15 -04:00
Matt Borland
96921dae22 Add new definitions of classification functions 2024-07-23 08:09:03 -04:00
Matt Borland
ec3d237aca First cut at CUDA allowed policies 2024-07-23 08:08:53 -04:00
Matt Borland
980a10cc8b Add config option to return NANs 2024-07-23 08:08:44 -04:00
Matt Borland
977ccbf7b0 Add CUDA definition of force inline ignoring that of the host compiler 2024-07-23 08:08:32 -04:00
Matt Borland
f62b73a556 Add cuda markers to arcsine distribution 2024-07-23 08:08:02 -04:00
Matt Borland
b42048cf02 Add CUDA markers to polynomial class 2024-07-23 08:07:44 -04:00
Matt Borland
964d4943cd Add CUDA markers to binomial dist 2024-07-23 08:07:35 -04:00
Matt Borland
d04988c907 Add additional macro for local static variables 2024-07-23 08:07:18 -04:00
Matt Borland
2a16fe3557 Add additional configuration macros 2024-07-23 08:07:00 -04:00
jzmaddock
07d97df50c Landau Integration testing (#1159)
* Add landau distribution

* Add landau limit test case

* Add landau document

* Landau integration testing.
Hook up tests to Jamfile.
Hook up docs by adding to dist_reference.qbk.
Add std::float64_t tests.
Hook up concept tests in instantiate.hpp.
Add to distributions.hpp
Update static_asserts with better error messages.
Add header inclusion test in dist_landau_incl_test.cpp (and fix resulting errors)

* Add missing #include.

* More Landau test fixes.

* Fix C++23 stdfloat test names.

* Final (doc) update to Landau.

---------

Co-authored-by: tk-yoshimura <yoshimura8192@gmail.com>
2024-07-21 11:54:58 +01:00
jzmaddock
7de81456dc Remove overload no longer required by multiprecision. 2024-06-15 16:08:35 +01:00
jzmaddock
dfc2934865 Update Bessel functions at infinity. (#1144)
* Update Bessel functions at infinity.
Also sinc functions, and update tests.
Fixes https://github.com/boostorg/math/issues/1143.

* Correct some test failures.

* Yikes, correct missing if.

* Temporary fix for multiprecision.
REMOVE THIS.
2024-06-14 18:34:24 +01:00
Lukas Riebel
dff806a50a make boost::math::ccmath::fminf and boost::math::ccmath::fminl constexpr 2024-06-14 09:12:33 +02:00
jzmaddock
70cdb37759 Merge pull request #1141 from boostorg/nc_t_improvements
Prevent passing denormals in calculation.
2024-06-02 15:25:36 +01:00
jzmaddock
20f44d1275 Work through more CI failures. 2024-06-02 12:04:09 +01:00
jzmaddock
2bea451ac8 Correct conceptual failings, remove tests which can't possibly succeed. 2024-05-31 18:57:37 +01:00
jzmaddock
69443ab9a5 Correct isfinite call. 2024-05-31 18:04:04 +01:00
jzmaddock
eb42cba0c4 Lots of warning suppressions. 2024-05-31 18:03:27 +01:00
jzmaddock
18f49f94f5 Allow exp_sinh to be used on non-exception environments. 2024-05-31 16:58:41 +01:00
jzmaddock
70b6ab76e3 Jacobi Zeta: remove unused variable. 2024-05-31 11:55:38 +01:00
jzmaddock
9e6f2b1b40 Update Non central T PDF:
Lot's more tests, especially in the tails.
Added Hypergeometric and Integration methods as fallbacks.
2024-05-31 11:54:52 +01:00
jzmaddock
f28c7764f1 Add non central t PDF integral tests.
Fix exp_sinh issues so that it does actually find the integral.
2024-05-30 12:29:35 +01:00
Matt Borland
76c68889ff Regenerate code 2024-05-30 08:47:12 +02:00
jzmaddock
5e7fec6a11 Poisson part can be negative, take fabs of product
when checking for small values.
2024-05-24 10:22:35 +01:00
jzmaddock
0b2aa546dd Prevent passing denormals in calculation.
Refs https://github.com/scipy/scipy/issues/20693
2024-05-23 19:05:39 +01:00