aboutsummaryrefslogtreecommitdiff
path: root/lib/std
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2023-08-25 11:19:37 -0700
committerAndrew Kelley <andrew@ziglang.org>2023-09-19 09:37:53 -0700
commite36ec537f2127f71a2e8c8a207136226c9848fb9 (patch)
treec100e7527ccd0eac41dc2f500a5bc60c9b234679 /lib/std
parentfe63d15d07bde0cf1687c3d168cffec5618b6d65 (diff)
downloadzig-e36ec537f2127f71a2e8c8a207136226c9848fb9.tar.gz
zig-e36ec537f2127f71a2e8c8a207136226c9848fb9.zip
nvptx: omit sm_90a from the CPU target features for now
There seems to be an LLVM bug with this feature. Since it's new, let's collect more information before adding it.
Diffstat (limited to 'lib/std')
-rw-r--r--lib/std/target/nvptx.zig14
1 files changed, 0 insertions, 14 deletions
diff --git a/lib/std/target/nvptx.zig b/lib/std/target/nvptx.zig
index 754000da3c..99a281604b 100644
--- a/lib/std/target/nvptx.zig
+++ b/lib/std/target/nvptx.zig
@@ -47,7 +47,6 @@ pub const Feature = enum {
sm_87,
sm_89,
sm_90,
- sm_90a,
};
pub const featureSet = CpuFeature.feature_set_fns(Feature).featureSet;
@@ -269,11 +268,6 @@ pub const all_features = blk: {
.description = "Target SM 90",
.dependencies = featureSet(&[_]Feature{}),
};
- result[@intFromEnum(Feature.sm_90a)] = .{
- .llvm_name = "sm_90a",
- .description = "Target SM 90a",
- .dependencies = featureSet(&[_]Feature{}),
- };
const ti = @typeInfo(Feature);
for (&result, 0..) |*elem, i| {
elem.index = i;
@@ -442,12 +436,4 @@ pub const cpu = struct {
.sm_90,
}),
};
- pub const sm_90a = CpuModel{
- .name = "sm_90a",
- .llvm_name = "sm_90a",
- .features = featureSet(&[_]Feature{
- .ptx80,
- .sm_90a,
- }),
- };
};