Skip to content

Commit 09e56f9

Browse files
authored
[Bugfix] Explicitly include "omp.h" for MacOS to avoid installation failure (#14051)
1 parent cf069aa commit 09e56f9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

csrc/cpu/cpu_types_arm.hpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
#include <torch/all.h>
33
#include <cmath>
44

5+
#if defined(__APPLE__)
6+
#include "omp.h"
7+
#endif
8+
59
namespace vec_op {
610

711
#ifdef ARM_BF16_SUPPORT

0 commit comments

Comments
 (0)