mirror of
https://github.com/ziglang/zig.git
synced 2026-02-12 20:37:54 +00:00
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.
This commit is contained in:
parent
fe63d15d07
commit
e36ec537f2
@ -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,
|
||||
}),
|
||||
};
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user