You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
IR-loweringLowering between dialects (dialect-mir to LLVM dialect)codegenDevice code-generation pipeline (Rust MIR to IR to PTX)enhancementNew feature or requestintrinsicsDevice intrinsics and libdevice math mappingsllvm-exportTextual LLVM/NVVM IR exporter (llvm-export crate)
If this asm macro were included in code that could be invoked from host code, how should it behave? Is there a config flag to run normal code on the host and optimized assembly on the GPU instead?
IR-loweringLowering between dialects (dialect-mir to LLVM dialect)codegenDevice code-generation pipeline (Rust MIR to IR to PTX)enhancementNew feature or requestintrinsicsDevice intrinsics and libdevice math mappingsllvm-exportTextual LLVM/NVVM IR exporter (llvm-export crate)
Activity
mutantbob commentedon Jun 9, 2026
If this asm macro were included in code that could be invoked from host code, how should it behave? Is there a config flag to run normal code on the host and optimized assembly on the GPU instead?
egorsmkv commentedon Jun 10, 2026
@mutantbob i mean similar thing as https://doc.rust-lang.org/reference/inline-assembly.html
obviously PTX cannot be run on the host