Repository navigation
Stop precompiling GPUToolbox's wait internals - #3662
Conversation
GPUToolbox 3.8 caches what a wait worker calls along with `cooperative_wait` (JuliaGPU/GPUToolbox.jl#49), so CUDACore no longer has to precompile `perform!` for GPUToolbox's internal request types, which depended on their names, parameters and the inferred result type.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3662 +/- ##
==========================================
- Coverage 88.51% 85.86% -2.65%
==========================================
Files 203 203
Lines 22057 22052 -5
==========================================
- Hits 19523 18935 -588
- Misses 2534 3117 +583 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Benchmark resultsCompared with 3f940e353, the merge base. Times are the minimum time of every benchmark. A change is unusual when it exceeds both three times the benchmark's typical change between consecutive runs on the default branch and a minimum per category (performance 3%, latency 5%, applications 3%, other 3%). A benchmark that starts or stops allocating is listed however few the allocations. A single run can still be a fluke, so rerun before drawing conclusions.
All benchmarks
History: https://juliagpu.org/perf/?pkg=cuda |
GPUToolbox 3.8 caches what a wait worker calls along with
cooperative_wait(JuliaGPU/GPUToolbox.jl#49), so theperform!statements #3659 added toprecompile.jlare no longer needed. They named GPUToolbox internals and copied the result type it infers forworker_synchronize, so they would have broken CUDACore's precompilation, or silently stopped matching, when either changed.With these statements removed and GPUToolbox 3.8, the first synchronizing launch on an RTX 5080 (Julia 1.12) still compiles no
perform!.