| ... | @@ -116,6 +116,7 @@ pub fn targetTriple(allocator: Allocator, target: std.Target) ![]const u8 { | ... | @@ -116,6 +116,7 @@ pub fn targetTriple(allocator: Allocator, target: std.Target) ![]const u8 { |
| 116 | .cuda => "cuda", | 116 | .cuda => "cuda", |
| 117 | .nvcl => "nvcl", | 117 | .nvcl => "nvcl", |
| 118 | .amdhsa => "amdhsa", | 118 | .amdhsa => "amdhsa", |
| | 119 | .opencl => "unknown", // https://llvm.org/docs/SPIRVUsage.html#target-triples |
| 119 | .ps4 => "ps4", | 120 | .ps4 => "ps4", |
| 120 | .ps5 => "ps5", | 121 | .ps5 => "ps5", |
| 121 | .elfiamcu => "elfiamcu", | 122 | .elfiamcu => "elfiamcu", |
| ... | @@ -137,7 +138,6 @@ pub fn targetTriple(allocator: Allocator, target: std.Target) ![]const u8 { | ... | @@ -137,7 +138,6 @@ pub fn targetTriple(allocator: Allocator, target: std.Target) ![]const u8 { |
| 137 | .serenity => "serenity", | 138 | .serenity => "serenity", |
| 138 | .vulkan => "vulkan", | 139 | .vulkan => "vulkan", |
| 139 | | 140 | |
| 140 | .opencl, | | |
| 141 | .glsl450, | 141 | .glsl450, |
| 142 | .plan9, | 142 | .plan9, |
| 143 | .minix, | 143 | .minix, |