-
Notifications
You must be signed in to change notification settings - Fork 487
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reported in: jax-ml/jax#26062 PiperOrigin-RevId: 719326299
- Loading branch information
1 parent
894a70e
commit 9ceaa6c
Showing
5 changed files
with
72 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
diff --git a/src/BUILD.bazel b/src/BUILD.bazel | ||
index bf71e534e2..22377f1a32 100644 | ||
--- a/src/BUILD.bazel | ||
+++ b/src/BUILD.bazel | ||
@@ -971,7 +971,6 @@ filegroup( | ||
"runtime/NEON/functions/NETranspose.cpp", | ||
"runtime/NEON/functions/NEUnstack.cpp", | ||
"runtime/NEON/functions/NEWinogradConvolutionLayer.cpp", | ||
- "runtime/OMP/OMPScheduler.cpp", | ||
"runtime/OffsetLifetimeManager.cpp", | ||
"runtime/OffsetMemoryPool.cpp", | ||
"runtime/OperatorTensor.cpp", | ||
@@ -984,6 +983,10 @@ filegroup( | ||
"runtime/Tensor.cpp", | ||
"runtime/TensorAllocator.cpp", | ||
"runtime/Utils.cpp"] + | ||
+ select({ | ||
+ "//:openmp_flag": ["runtime/OMP/OMPScheduler.cpp"], | ||
+ "//conditions:default": [], | ||
+ }) + | ||
glob(["**/*.h", | ||
"**/*.hpp", | ||
"**/*.inl"]), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
diff --git a/arm_compute/core/utils/logging/IPrinter.h b/arm_compute/core/utils/logging/IPrinter.h | ||
index 42dca58ea1..9c8b1598e8 100644 | ||
--- a/arm_compute/core/utils/logging/IPrinter.h | ||
+++ b/arm_compute/core/utils/logging/IPrinter.h | ||
@@ -25,6 +25,7 @@ | ||
#define ARM_COMPUTE_LOGGING_PRINTER_H | ||
|
||
#include "support/Mutex.h" | ||
+#include <string> | ||
|
||
namespace arm_compute | ||
{ |
23 changes: 23 additions & 0 deletions
23
third_party/tsl/third_party/compute_library/exclude_omp_scheduler.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
diff --git a/src/BUILD.bazel b/src/BUILD.bazel | ||
index bf71e534e2..22377f1a32 100644 | ||
--- a/src/BUILD.bazel | ||
+++ b/src/BUILD.bazel | ||
@@ -971,7 +971,6 @@ filegroup( | ||
"runtime/NEON/functions/NETranspose.cpp", | ||
"runtime/NEON/functions/NEUnstack.cpp", | ||
"runtime/NEON/functions/NEWinogradConvolutionLayer.cpp", | ||
- "runtime/OMP/OMPScheduler.cpp", | ||
"runtime/OffsetLifetimeManager.cpp", | ||
"runtime/OffsetMemoryPool.cpp", | ||
"runtime/OperatorTensor.cpp", | ||
@@ -984,6 +983,10 @@ filegroup( | ||
"runtime/Tensor.cpp", | ||
"runtime/TensorAllocator.cpp", | ||
"runtime/Utils.cpp"] + | ||
+ select({ | ||
+ "//:openmp_flag": ["runtime/OMP/OMPScheduler.cpp"], | ||
+ "//conditions:default": [], | ||
+ }) + | ||
glob(["**/*.h", | ||
"**/*.hpp", | ||
"**/*.inl"]), |
12 changes: 12 additions & 0 deletions
12
third_party/tsl/third_party/compute_library/include_string.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
diff --git a/arm_compute/core/utils/logging/IPrinter.h b/arm_compute/core/utils/logging/IPrinter.h | ||
index 42dca58ea1..9c8b1598e8 100644 | ||
--- a/arm_compute/core/utils/logging/IPrinter.h | ||
+++ b/arm_compute/core/utils/logging/IPrinter.h | ||
@@ -25,6 +25,7 @@ | ||
#define ARM_COMPUTE_LOGGING_PRINTER_H | ||
|
||
#include "support/Mutex.h" | ||
+#include <string> | ||
|
||
namespace arm_compute | ||
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters