Skip to content

Offload: Update confusing and outdated file name#156941

Merged
rust-bors[bot] merged 1 commit into
rust-lang:mainfrom
ZuseZ4:update-offload-file-naming
May 28, 2026
Merged

Offload: Update confusing and outdated file name#156941
rust-bors[bot] merged 1 commit into
rust-lang:mainfrom
ZuseZ4:update-offload-file-naming

Conversation

@ZuseZ4

@ZuseZ4 ZuseZ4 commented May 25, 2026

Copy link
Copy Markdown
Member

We swapped the order in which we do host and device compilations. The file getting renamed is effectively the output of the clang-offload-packager, the first magic bytes (00000000 10 ff 10 ad) confirm it. I was just creating a figure to visualize and noticed that the name is off.

cc @kevinsala @jdoerfert is there any naming convention?

r? oli-obk

@rustbot rustbot added A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels May 25, 2026
@ZuseZ4 ZuseZ4 added the F-gpu_offload `#![feature(gpu_offload)]` label May 25, 2026
@rust-log-analyzer

This comment has been minimized.

@ZuseZ4 ZuseZ4 force-pushed the update-offload-file-naming branch from 7e1e45d to 1ffcca7 Compare May 25, 2026 22:27
@ZuseZ4 ZuseZ4 marked this pull request as ready for review May 27, 2026 20:14
@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels May 27, 2026

@oli-obk oli-obk left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rust-bors

rust-bors Bot commented May 28, 2026

Copy link
Copy Markdown
Contributor

📌 Commit 1ffcca7 has been approved by oli-obk

It is now in the queue for this repository.

@rust-bors rust-bors Bot added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels May 28, 2026
rust-bors Bot pushed a commit that referenced this pull request May 28, 2026
…uwer

Rollup of 3 pull requests

Successful merges:

 - #156568 (Fix Xtensa vaarg stack transition algorithm)
 - #156659 (coverage: Build the expansion tree around `SyntaxContext`)
 - #156941 (Offload: Update confusing and outdated file name)
rust-timer added a commit that referenced this pull request May 28, 2026
Rollup merge of #156941 - ZuseZ4:update-offload-file-naming, r=oli-obk

Offload: Update confusing and outdated file name

We swapped the order in which we do host and device compilations. The file getting renamed is effectively the output of the clang-offload-packager, the first magic bytes (`00000000  10 ff 10 ad`) confirm it. I was just creating a figure to visualize and noticed that the name is off.

cc @kevinsala @jdoerfert is there any naming convention?

r? oli-obk
@rust-bors rust-bors Bot merged commit 2456df1 into rust-lang:main May 28, 2026
11 checks passed
@rustbot rustbot added this to the 1.98.0 milestone May 28, 2026
@ZuseZ4 ZuseZ4 deleted the update-offload-file-naming branch May 28, 2026 17:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. F-gpu_offload `#![feature(gpu_offload)]` S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants