Files
rust/compiler/rustc_codegen_llvm
Jonathan Brouwer cbc3a2e0cf Rollup merge of #154835 - ZuseZ4:offload-sharedmem, r=oli-obk
std::offload sharedmem

@Sa4dUs @Kevinsala This simply allows requesting shared-memory for gpu kernels at launch time via std::offload. The actual work to access the shared memory inside the kernel has already landed independent of the offload work in rustc, so we're building on that.

cc @Flakebi (thanks for your work!)
2026-05-29 21:03:30 +02:00
..
…

The codegen crate contains the code to convert from MIR into LLVM IR, and then from LLVM IR into machine code. In general it contains code that runs towards the end of the compilation process.

For more information about how codegen works, see the rustc dev guide.