authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2023-08-25 11:19:37-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2023-09-19 09:37:53-07:00
loge36ec537f2127f71a2e8c8a207136226c9848fb9
treec100e7527ccd0eac41dc2f500a5bc60c9b234679
parentfe63d15d07bde0cf1687c3d168cffec5618b6d65

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.

1 files changed, 0 insertions(+), 14 deletions(-)

lib/std/target/nvptx.zig-14
......@@ -47,7 +47,6 @@ pub const Feature = enum {
4747 sm_87,
4848 sm_89,
4949 sm_90,
50 sm_90a,
5150};
5251
5352pub const featureSet = CpuFeature.feature_set_fns(Feature).featureSet;
......@@ -269,11 +268,6 @@ pub const all_features = blk: {
269268 .description = "Target SM 90",
270269 .dependencies = featureSet(&[_]Feature{}),
271270 };
272 result[@intFromEnum(Feature.sm_90a)] = .{
273 .llvm_name = "sm_90a",
274 .description = "Target SM 90a",
275 .dependencies = featureSet(&[_]Feature{}),
276 };
277271 const ti = @typeInfo(Feature);
278272 for (&result, 0..) |*elem, i| {
279273 elem.index = i;
......@@ -442,12 +436,4 @@ pub const cpu = struct {
442436 .sm_90,
443437 }),
444438 };
445 pub const sm_90a = CpuModel{
446 .name = "sm_90a",
447 .llvm_name = "sm_90a",
448 .features = featureSet(&[_]Feature{
449 .ptx80,
450 .sm_90a,
451 }),
452 };
453439};