commit e36ec537f2127f71a2e8c8a207136226c9848fb9 (tree)
parent fe63d15d07bde0cf1687c3d168cffec5618b6d65
Author: Andrew Kelley <andrew@ziglang.org>
Date: Fri, 25 Aug 2023 11:19:37 -0700
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:
1 file changed, 0 insertions(+), 14 deletions(-)
diff --git 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,
- }),
- };
};