HorribleSanity / Raven.jl

MIT License
3 stars 1 forks source link

Use PrecompileTools #94

Open lcw opened 5 months ago

lcw commented 5 months ago

This causes issues with julia 1.10 which are detailed here https://github.com/JuliaGPU/GPUCompiler.jl/issues/580.

lcw commented 5 months ago

We are now getting warnings when Raven is precompiling on the CPU, such as,

warning: /home/lucas/.julia/packages/KernelAbstractions/zPAn3/src/extras/loopinfo.jl:28:0: loop not unrolled: the optimizer was unable to perform the requested transformation; the transformation might be disabled or specified as part of an unsupported transformation ordering

We have seen these before when running with bounds checking forced on.

lcw commented 5 months ago

When I use julia --project --trace-compile try.txt I see that not all CPU KA kernels get properly cached, as it will compile them again even though they should have been precompiled.

lcw commented 3 months ago

The updated pr works for me with with julia v"1.10.4" now. Not sure what changed but I am still getting the warnings about being unable to loop unroll.