Repository navigation
Precompile the compiler for devices without Float64 support - #746
Merged
Merged
Conversation
Devices without Float64 support add `float64_overrides`, changing the method table type GPUCompiler's interpreter specializes on. Precompile both configurations to cut the first `@oneapi` launch on an Arc A770 from 8.6 s to 2.4 s.
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #746 +/- ##
==========================================
- Coverage 86.89% 86.63% -0.27%
==========================================
Files 55 55
Lines 5090 4997 -93
==========================================
- Hits 4423 4329 -94
- Misses 667 668 +1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
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.
On devices without Float64 support,
method_tablesaddsfloat64_overrides, changing the method table type GPUCompiler's interpreter specializes on. The precompile workload covered onlysupports_fp64 = true. On devices such as Arc A-series GPUs, the first kernel compilation therefore inferred and compiled the interpreter from scratch:typeinf_localalone took 7.4 s. Precompile both settings to cover these devices.Arc A770, Julia 1.12.7, median of 3 fresh processes:
@oneapilaunch in a sessionDevices with Float64 support remain covered. The workload still compiles only on Julia 1.12+.
The full test suite passes on an Arc A770 (Julia 1.12.7).