| ... | ... | @@ -6862,6 +6862,18 @@ pub const CType = enum { |
| 6862 | 6862 | }, |
| 6863 | 6863 | }, |
| 6864 | 6864 | |
| 6865 | .nvcl, .cuda => switch (self) { |
| 6866 | .short, .ushort => return 16, |
| 6867 | .int, .uint, .float => return 32, |
| 6868 | .long, .ulong => switch (target.cpu.arch) { |
| 6869 | .nvptx => return 32, |
| 6870 | .nvptx64 => return 64, |
| 6871 | else => return 64, |
| 6872 | }, |
| 6873 | .longlong, .ulonglong, .double => return 64, |
| 6874 | .longdouble => return 64, |
| 6875 | }, |
| 6876 | |
| 6865 | 6877 | .amdhsa, .amdpal => switch (self) { |
| 6866 | 6878 | .short, .ushort => return 16, |
| 6867 | 6879 | .int, .uint, .float => return 32, |
| ... | ... | @@ -6876,8 +6888,6 @@ pub const CType = enum { |
| 6876 | 6888 | .rtems, |
| 6877 | 6889 | .nacl, |
| 6878 | 6890 | .aix, |
| 6879 | | .cuda, |
| 6880 | | .nvcl, |
| 6881 | 6891 | .ps4, |
| 6882 | 6892 | .ps5, |
| 6883 | 6893 | .elfiamcu, |