mirror of
https://github.com/ziglang/zig.git
synced 2026-01-31 03:33:37 +00:00
llvm: Add a comment clarifying our mapping of the opencl OS tag.
This commit is contained in:
parent
c11b997662
commit
4e56653628
@ -116,6 +116,7 @@ pub fn targetTriple(allocator: Allocator, target: std.Target) ![]const u8 {
|
||||
.cuda => "cuda",
|
||||
.nvcl => "nvcl",
|
||||
.amdhsa => "amdhsa",
|
||||
.opencl => "unknown", // https://llvm.org/docs/SPIRVUsage.html#target-triples
|
||||
.ps4 => "ps4",
|
||||
.ps5 => "ps5",
|
||||
.elfiamcu => "elfiamcu",
|
||||
@ -137,7 +138,6 @@ pub fn targetTriple(allocator: Allocator, target: std.Target) ![]const u8 {
|
||||
.serenity => "serenity",
|
||||
.vulkan => "vulkan",
|
||||
|
||||
.opencl,
|
||||
.glsl450,
|
||||
.plan9,
|
||||
.minix,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user