mirror of
https://github.com/termux/termux-packages.git
synced 2025-03-04 04:48:55 +00:00
14 lines
547 B
Diff
14 lines
547 B
Diff
https://github.com/pytorch/cpuinfo/commit/f0d67c613e1a859fdc41238ed5848545e8e0e102
|
|
|
|
--- a/third_party/cpuinfo/src/arm/linux/aarch64-isa.c
|
|
+++ b/third_party/cpuinfo/src/arm/linux/aarch64-isa.c
|
|
@@ -167,7 +167,7 @@ void cpuinfo_arm64_linux_decode_isa_from_proc_cpuinfo(
|
|
|
|
int ret = prctl(PR_SVE_GET_VL);
|
|
if (ret < 0) {
|
|
- cpuinfo_log_error("prctl(PR_SVE_GET_VL) failed");
|
|
+ cpuinfo_log_warning("No SVE support on this machine");
|
|
isa->svelen = 0; // Assume no SVE support if the call fails
|
|
} else {
|
|
// Mask out the SVE vector length bits
|