# amdgpu,nvptx: unify kernel calling conventions · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/f12beb857ad7868396a4246b8f62f83f625c0978)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: f12beb857ad7868396a4246b8f62f83f625c0978

Requested commit: f12beb857ad7868396a4246b8f62f83f625c0978

Commit: f12beb857ad7868396a4246b8f62f83f625c0978

Tree: ee82e5c5b60c48db8122adaa6f74763ea756c2a4

Author: Robin Voetter

Committer: Robin Voetter

## Message

```
amdgpu,nvptx: unify kernel calling conventions

AmdgpuKernel and NvptxKernel are unified into a Kernel calling convention.
There is really no reason for these to be separate; no backend is allowed to
emit the calling convention of the other. This is in the same spirit as the
.Interrupt calling convention lowering to different LLVM calling conventions,
and opens the way for SPIR-V kernels to be exported using the Kernel calling
convention.

```

## Parents

- [3f2025f59e4488bff9e046cabbbff047fa1db508](https://git.cafe/gitcafe/zig/commit/3f2025f59e4488bff9e046cabbbff047fa1db508?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/f12beb857ad7868396a4246b8f62f83f625c0978?format=markdown)
