rust/compiler/rustc_codegen_llvm
Jonathan Brouwer 58f5089d8a
Rollup merge of #150444 - Sa4dUs:offload-intrinsic2, r=ZuseZ4
Expose kernel launch options as offload intrinsic args

Allows modifying the workgroup and thread grid dimensions directly from the intrinsic call.

```rust
core::intrinsics::offload(_kernel_1, [256, 1, 1], [32, 1, 1], (x,))
```

r? `@ZuseZ4`
2026-01-02 19:00:15 +01:00
..
src Rollup merge of #150444 - Sa4dUs:offload-intrinsic2, r=ZuseZ4 2026-01-02 19:00:15 +01:00
Cargo.toml Removes the serde dependency in rustc_codegen_llvm 2025-12-28 15:52:20 +08:00
messages.ftl adding proper error handling for offload 2025-12-23 05:20:11 -08:00
README.md mv compiler to compiler/ 2020-08-30 18:45:07 +03: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.