Skip to content

[sycl-jit] Parallelize resource.cpp compile by sharding all #embed files#22768

Open
wenju-he wants to merge 2 commits into
intel:syclfrom
wenju-he:sycl-jit-resource.cpp-shard
Open

[sycl-jit] Parallelize resource.cpp compile by sharding all #embed files#22768
wenju-he wants to merge 2 commits into
intel:syclfrom
wenju-he:sycl-jit-resource.cpp-shard

Conversation

@wenju-he

Copy link
Copy Markdown
Contributor

In downstream, resource.cpp #embeds ~1.5GB of SYCL headers, libclc, and libdevice binaries into a single TU, which took ~2m13s to compile at O2.

generate.py now bin-packs all embedded files across a fixed number of resource-shard-N.cpp translation units, leaving resource.cpp itself with no #embeds at all.

CMPLRLLVM-77210

In downstream, resource.cpp #embeds ~1.5GB of SYCL headers, libclc, and
libdevice binaries into a single TU, which took ~2m13s to compile at O2.

generate.py now bin-packs all embedded files across a fixed number of
resource-shard-N.cpp translation units, leaving resource.cpp itself with
no #embeds at all.

CMPLRLLVM-77210

Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
@wenju-he
wenju-he requested review from a team and cperkinsintel as code owners July 26, 2026 02:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant