-
Notifications
You must be signed in to change notification settings - Fork 60
Remove some Core.Boxes
#751
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
|
Your PR no longer requires formatting changes. Thank you for your contribution! |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #751 +/- ##
==========================================
- Coverage 74.79% 73.28% -1.52%
==========================================
Files 24 24
Lines 3666 3668 +2
==========================================
- Hits 2742 2688 -54
- Misses 924 980 +56 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This reverts commit 8b9ec83.
These variables were being captured from the outer scope before.
|
Do these hurt performance? I intentionally wrote the code as such, e.g., keeping the |
Using script from JuliaLang/julia#60478
The
sevenfour remaining boxes arechanged#emit_llvm#92Tuple{GPUCompiler.var"##emit_llvm#92", Base.Pairs{Symbol, V, Nothing, NT} where {V, NT<:NamedTuple}, typeof(GPUCompiler.emit_llvm), CompilerJob}src/driver.jl:182config#emit_llvm#92Tuple{GPUCompiler.var"##emit_llvm#92", Base.Pairs{Symbol, V, Nothing, NT} where {V, NT<:NamedTuple}, typeof(GPUCompiler.emit_llvm), CompilerJob}src/driver.jl:182dyn_entry_fn#emit_llvm#92Tuple{GPUCompiler.var"##emit_llvm#92", Base.Pairs{Symbol, V, Nothing, NT} where {V, NT<:NamedTuple}, typeof(GPUCompiler.emit_llvm), CompilerJob}src/driver.jl:182localUnique@device_codeTuple{GPUCompiler.var"#@device_code", LineNumberNode, Module, Vararg{Any}}src/reflection.jl:364I attempted to fix the first three in
src/driver.jl, but it was a mess becausechanged,configanddyn_entry_fnare captured by aget!() doinGPUCompiler.jl/src/driver.jl
Lines 252 to 263 in da0be16
I don't understand what's wrong with[Edit:job.runtime_fnsandruntime_intrinsicsshould be fixablejob,runtime_fns, andruntime_intrinsicsare all fixed now], butlocalUniqueinGPUCompiler.jl/src/reflection.jl
Lines 364 to 396 in da0be16
Note: most tests pass for me when I run them withPkg.test, except fornative/kwcall inference + overlay method(which fails for me also onmainso I don't think it's my fault) andptx, which crashes the worker without an error message, but when I run the scripttest/ptx.jlstandalone (with the test init code added at the beginning) the test is successful, so I have little clue of what's the issue there:Edit: resolved.