JuliaGPU / JuliaGPU/GPUCompiler.jl

Racy bitcode compilation

Open
#570 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Julia
Stars
187
Forks
68
Avg merge
1d 12h
Merged PRs (30d)
28

Description

I thought we already worked around this, using an atomic move-in-place: https://github.com/JuliaGPU/GPUCompiler.jl/blob/c15433ca68ee0fd52ae5241ad8d4c91df531801b/src/rtlib.jl#L145-L149

However, it looks like this still happens on CI, e.g. https://buildkite.com/julialang/metal-dot-jl/builds/947#018ee3aa-18e2-472c-b93f-f77451e3f87a

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the atomic move-in-place workaround in src/rtlib.jl at lines 145-149, then inspect the referenced Metal CI failure in Buildkite build 947. Determine why bitcode compilation can still race despite that workaround; done means the CI failure is addressed and compilation is no longer racy.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
compilers
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.