rust/tests/codegen-llvm/gpu_offload
Stuart Cook 1262ff906b
Rollup merge of #150288 - offload-bench-fix, r=ZuseZ4
Add scalar support for offload

This PR adds scalar support to the offload feature. The scalar management has two main parts:

On the host side, each scalar arg is casted to `ix` type, zero extended to `i64` and passed to the kernel like that.
On the device, the each scalar arg (`i64` at that point), is truncated to `ix` and then casted to the original type.

r? @ZuseZ4
2026-01-20 18:00:08 +11:00
..
control_flow.rs Expose workgroup/thread dims as intrinsic args 2026-01-02 11:50:32 +01:00
gpu_host.rs Generate global openmp metadata to trigger llvm openmp-opt pass 2026-01-16 14:57:32 -05:00
scalar_device.rs Add scalar support for both host and device 2026-01-19 22:28:42 +01:00
scalar_host.rs Add scalar support for both host and device 2026-01-19 22:28:42 +01:00