Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Ubuntu authored and Ubuntu committed Oct 2, 2024
1 parent b39e962 commit b3dac37
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
8 changes: 3 additions & 5 deletions onnxruntime/core/providers/xnnpack/xnnpack_init.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,9 @@ namespace xnnpack {
#if (!defined(_MSC_VER)) || (_MSC_VER >= 1930)
#if (defined(_M_ARM64) || defined(__aarch64__) || defined(_M_ARM64EC)) && !XNN_ARCH_X86_64
#if !defined(__APPLE__)
// Had to temporary disable fp16 under APPLE ARM64, as compiling
// the source files require a hardware specific compilation flag.
// When building an universial binary for APPLE, this flag would
// cause trouble for x64 target.
// referenced from MLAS
// Had to temporary disable fp16 under APPLE ARM64, as compiling the source files
// require a hardware specific compilation flag. When building an universial binary for APPLE,
// this flag would cause trouble for x64 target. Referenced from MLAS
#define XNNPACK_FP16_SUPPORTED
#endif //
#endif // ARM64
Expand Down
4 changes: 0 additions & 4 deletions onnxruntime/test/providers/cpu/nn/pool_fp16_op_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,7 @@

#include "core/mlas/inc/mlas.h"

<<<<<<< HEAD
#if defined(MLAS_F16VEC_INTRINSICS_SUPPORTED) || defined(XNNPACK_FP16_SUPPORTED)
=======
#if defined(MLAS_F16VEC_INTRINSICS_SUPPORTED) || defined(COREML_ENABLE_MLPROGRAM) || defined(XNNPACK_FP16_SUPPORTED)
>>>>>>> 6527ac2a24 (onnx node supported)

#include "core/providers/cpu/nn/pool.h"
#include "gtest/gtest.h"
Expand Down

0 comments on commit b3dac37

Please sign in to comment.