Skip to content

Commit 3ebc81d

Browse files
authored
[Cherry-pick] Support compile for arm ft (#25264)
1 parent d19e266 commit 3ebc81d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

paddle/fluid/platform/cpu_info.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,11 +165,11 @@ bool MayIUse(const cpu_isa_t cpu_isa) {
165165
return (reg[1] & avx512f_mask) != 0;
166166
}
167167
}
168+
#endif
168169
return false;
169170
}
170171
}
171172
#endif
172-
#endif
173173

174174
} // namespace platform
175175
} // namespace paddle

0 commit comments

Comments
 (0)