Unverified Commit 09e56f92 authored by Sheng Yao's avatar Sheng Yao Committed by GitHub
Browse files

[Bugfix] Explicitly include "omp.h" for MacOS to avoid installation failure (#14051)

parent cf069aa8
......@@ -2,6 +2,10 @@
#include <torch/all.h>
#include <cmath>
#if defined(__APPLE__)
#include "omp.h"
#endif
namespace vec_op {
#ifdef ARM_BF16_SUPPORT
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment