Repository navigation
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #645 +/- ##
==========================================
- Coverage 90.42% 88.57% -1.85%
==========================================
Files 18 18
Lines 1681 1681
==========================================
- Hits 1520 1489 -31
- Misses 161 192 +31 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
OpenCL has no erfcx builtin, and SpecialFunctions' Float32 and Float64
methods call into libopenspecfun, so kernels using erfcx failed to
compile.
The device implementation is pure Julia. The implementation is from
Shepherd & Laframboise, "Chebyshev approximation of (1+2x)exp(x²)erfc x
in 0 ≤ x < ∞", Math. Comp. 36 (1981), 249–253).
Against a 256-bit reference on PoCL, the maximum error is 1.43 ulp
(Float64) and 1.41 ulp (Float32) for x >= 0, and 1.84 and 1.86 ulp for
x < 0. lib/intrinsics/gen/erfcx.jl regenerates the coefficients.
Fixes JuliaGPU/GPUArrays.jl#877
Assisted-by: Claude Opus 5.5 <noreply@anthropic.com>
Member
Author
|
AFAICT the remaining failures have nothing to do with this PR |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
OpenCL has no erfcx builtin, and SpecialFunctions' Float32 and Float64 methods call into libopenspecfun, so kernels using erfcx failed to compile.
The device implementation is pure Julia. The implementation is from
Against a 256-bit reference on PoCL, the maximum error is 1.43 ulp (Float64) and 1.41 ulp (Float32) for x >= 0, and 1.84 and 1.86 ulp for x < 0.
I also decided to commit the script that calculates the coefficients as
lib/intrinsics/gen/erfcx.jl. Let me know if you want me to strip that out.Fixes JuliaGPU/GPUArrays.jl#877
Assisted-by: Claude Opus 5.5 noreply@anthropic.com