Valentin Churavy

Results 1413 comments of Valentin Churavy

Or you could use an anonymous module?

Eh, you would need to root the anonymous module "somewhere" this could be just a list of modules in Finch, but then those get lost after precompilation of a user...

Also I just noticed things like ` return ctx.nodes.literal(@eval($ex))`, that's just `getglobal`.

If you are willing to depend on runtime internals `jl_precompile_toplevel_module` is defined during precompilation and will give you the current module.

> [!WARNING] > This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite....

Someone should finish https://github.com/JuliaLang/julia/pull/49933

"GC safepoint" are singular points in time. GC safe regions are spans in time, and yes it is legal to to nest safe regions.

How dependent is Finch cache on the state of Julia functions? Julia 1.11 and upwards have some better support for provenance tracking for things like a code cache. https://github.com/JuliaGPU/GPUCompiler.jl/blob/09b4708ba12e0b19e40f85c64e9105cf666c4d62/src/execution.jl#L63

> is it safe to use the world as a key? Within a session, it is safe to use world as a key, across sessions it is not. (Worlds get...

> The semantics of ndrange differ from the "number of blocks/grid dimension or size" I was expecting, as it is typical in CUDA and Metal kernel invocations. Yes, we are...