[Bugfix] Explicitly include "omp.h" for MacOS to avoid installation failure (#14051)
This commit is contained in:
parent
cf069aa8aa
commit
09e56f9262
@ -2,6 +2,10 @@
|
|||||||
#include <torch/all.h>
|
#include <torch/all.h>
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
|
|
||||||
|
#if defined(__APPLE__)
|
||||||
|
#include "omp.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
namespace vec_op {
|
namespace vec_op {
|
||||||
|
|
||||||
#ifdef ARM_BF16_SUPPORT
|
#ifdef ARM_BF16_SUPPORT
|
||||||
|
Loading…
x
Reference in New Issue
Block a user