Skip to content

Commit 3fffb59

Browse files
authored
[backports-release-1.10] Remove bfloat16 condition accidentally backported (#59351)
This BFloat16 part was backported to 1.10 as part of #54471, but 1.10 doesn't actually have the BFloat16 support that this goes along with, and it has broken the build. So remove the condition. cc @gbaraldi
1 parent 951d565 commit 3fffb59

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/processor_x86.cpp

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1158,13 +1158,6 @@ extern "C" JL_DLLEXPORT std::vector<jl_target_spec_t> jl_get_llvm_clone_targets(
11581158
break;
11591159
}
11601160
}
1161-
static constexpr uint32_t clone_bf16[] = {Feature::avx512bf16};
1162-
for (auto fe: clone_bf16) {
1163-
if (!test_nbit(features0, fe) && test_nbit(t.en.features, fe)) {
1164-
t.en.flags |= JL_TARGET_CLONE_BFLOAT16;
1165-
break;
1166-
}
1167-
}
11681161
}
11691162
if (image_targets.empty())
11701163
jl_error("No targets specified");

0 commit comments

Comments
 (0)