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:
@@ -120,6 +120,7 @@ pub enum CallConv {
|
||||
X86_Intr = 83,
|
||||
AvrNonBlockingInterrupt = 84,
|
||||
AvrInterrupt = 85,
|
||||
AmdgpuKernel = 91,
|
||||
}
|
||||
|
||||
/// Must match the layout of `LLVMLinkage`.
|
||||
|
||||
Reference in New Issue
Block a user