mirror of
git://git.yoctoproject.org/meta-intel
synced 2026-01-01 13:58:05 +00:00
intel-graphics-compiler: fix compile issues
Backport patches to fix compile problems like:
| /build/build/tmp/work/corei7-64-poky-linux/intel-graphics-compiler/1.0.10395-r0/git/visa/LocalScheduler/SWSB_G4IR.cpp:1459:49: error: expected primary-expression before 'int'
| 1459 | int maxTokenDelay = std::numeric_limits<int>::min(); //The delay may cause if reuse
| | ^~~
| /build/build/tmp/work/corei7-64-poky-linux/intel-graphics-compiler/1.0.10395-r0/git/visa/LocalScheduler/SWSB_G4IR.cpp:1460:37: error: 'numeric_limits' is not a member of 'std'
| 1460 | int minTokenDistance = std::numeric_limits<int>::max(); //The distance from the reused node
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
(cherry picked from commit 311b432394)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
This commit is contained in:
parent
a26ea404d9
commit
19561ccc5f
|
|
@ -0,0 +1,27 @@
|
|||
From 79a95322fc5ae21c3380f6455b28b931c98b2d13 Mon Sep 17 00:00:00 2001
|
||||
From: Marcin Naczk <marcin.naczk@intel.com>
|
||||
Date: Tue, 22 Feb 2022 13:09:54 +0000
|
||||
Subject: [PATCH] Upgrade github Action build IGC
|
||||
|
||||
- Fix build IGC on Ubuntu 22.04 by adding missing include
|
||||
|
||||
Upstream-Status: Backport
|
||||
Part of: https://github.com/intel/intel-graphics-compiler/commit/4369c970d4e02258b3c53e854faaa34197124a33
|
||||
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
|
||||
|
||||
---
|
||||
visa/iga/IGALibrary/IR/SWSBSetter.hpp | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/visa/iga/IGALibrary/IR/SWSBSetter.hpp b/visa/iga/IGALibrary/IR/SWSBSetter.hpp
|
||||
index 5a7ad75c0..02d52add2 100644
|
||||
--- a/visa/iga/IGALibrary/IR/SWSBSetter.hpp
|
||||
+++ b/visa/iga/IGALibrary/IR/SWSBSetter.hpp
|
||||
@@ -32,6 +32,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
#include "Operand.hpp"
|
||||
#include "../ErrorHandler.hpp"
|
||||
#include "RegDeps.hpp"
|
||||
+#include <limits>
|
||||
|
||||
namespace iga
|
||||
{
|
||||
|
|
@ -0,0 +1,26 @@
|
|||
From 59d5ba1517c48a9e629994917a6e90207df26b08 Mon Sep 17 00:00:00 2001
|
||||
From: Bruno Pagani <bruno.n.pagani@gmail.com>
|
||||
Date: Mon, 21 Feb 2022 12:32:25 +0000
|
||||
Subject: [PATCH] Fix missing include
|
||||
|
||||
Same as 6c805b2
|
||||
|
||||
Upstream-Status: Backport
|
||||
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
|
||||
|
||||
---
|
||||
visa/LocalScheduler/SWSB_G4IR.cpp | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/visa/LocalScheduler/SWSB_G4IR.cpp b/visa/LocalScheduler/SWSB_G4IR.cpp
|
||||
index 0ef7961a0..bb631117d 100644
|
||||
--- a/visa/LocalScheduler/SWSB_G4IR.cpp
|
||||
+++ b/visa/LocalScheduler/SWSB_G4IR.cpp
|
||||
@@ -26,6 +26,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
#include <fstream>
|
||||
#include <functional>
|
||||
+#include <limits>
|
||||
#include <sstream>
|
||||
#include "SWSB_G4IR.h"
|
||||
#include "../G4_Opcode.h"
|
||||
|
|
@ -11,6 +11,8 @@ SRC_URI = "git://github.com/intel/intel-graphics-compiler.git;protocol=https; \
|
|||
file://0001-skip-execution-of-ElfPackager.patch \
|
||||
file://a58dd6de4c29595a0f93cff167b487d777e4559e.patch \
|
||||
file://0001-IGA-Add-missing-header.patch \
|
||||
file://4369c970d4e02258b3c53e854faaa34197124a33.patch \
|
||||
file://fix-header.patch \
|
||||
"
|
||||
|
||||
SRCREV = "577887bf74c51a6084058836720fe58f8c35ca58"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user