Add gpu-kernel calling convention
The amdgpu-kernel calling convention was reverted in commit
f6b21e90d1
due to inactivity in the amdgpu
target.
Introduce a `gpu-kernel` calling convention that translates to
`ptx_kernel` or `amdgpu_kernel`, depending on the target that rust
compiles for.
This commit is contained in:
parent
bf6f8a4d32
commit
e7e5202978
29 changed files with 435 additions and 175 deletions
|
@ -359,6 +359,8 @@ declare_features! (
|
|||
(unstable, abi_avr_interrupt, "1.45.0", Some(69664)),
|
||||
/// Allows `extern "C-cmse-nonsecure-call" fn()`.
|
||||
(unstable, abi_c_cmse_nonsecure_call, "1.51.0", Some(81391)),
|
||||
/// Allows `extern "gpu-kernel" fn()`.
|
||||
(unstable, abi_gpu_kernel, "CURRENT_RUSTC_VERSION", Some(135467)),
|
||||
/// Allows `extern "msp430-interrupt" fn()`.
|
||||
(unstable, abi_msp430_interrupt, "1.16.0", Some(38487)),
|
||||
/// Allows `extern "ptx-*" fn()`.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue