mirror of
https://github.com/ziglang/zig.git
synced 2026-02-20 00:08:56 +00:00
amdgpu: add amdhsa/amdpal ctype abi sizes
This commit is contained in:
parent
0b47e69b7c
commit
5dd3d17c20
@ -6728,6 +6728,13 @@ pub const CType = enum {
|
||||
},
|
||||
},
|
||||
|
||||
.amdhsa, .amdpal => switch (self) {
|
||||
.short, .ushort => return 16,
|
||||
.int, .uint => return 32,
|
||||
.long, .ulong, .longlong, .ulonglong => return 64,
|
||||
.longdouble => return 128,
|
||||
},
|
||||
|
||||
.cloudabi,
|
||||
.kfreebsd,
|
||||
.lv2,
|
||||
@ -6737,13 +6744,11 @@ pub const CType = enum {
|
||||
.aix,
|
||||
.cuda,
|
||||
.nvcl,
|
||||
.amdhsa,
|
||||
.ps4,
|
||||
.ps5,
|
||||
.elfiamcu,
|
||||
.mesa3d,
|
||||
.contiki,
|
||||
.amdpal,
|
||||
.hermit,
|
||||
.hurd,
|
||||
.opencl,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user