Closed
Description
For example, one can use the ptx-kernel
ABI on a x86_64 target. What the following does, I have absolutely no idea:
#![feature(abi_ptx)]
pub extern "ptx-kernel" fn foo(x: i32) -> i32 { x }
Errors:
Compiling playground v0.0.1 (/playground)
Finished dev [unoptimized + debuginfo] target(s) in 0.53s