mirror of
git://git.yoctoproject.org/meta-intel.git
synced 2025-07-19 12:09:03 +02:00

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>
26 lines
738 B
Diff
26 lines
738 B
Diff
From 4f510460beb630bac74fad399370b76354fdbd65 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 153d8a7dc58..cea75c7faa7 100644
|
|
--- a/visa/LocalScheduler/SWSB_G4IR.cpp
|
|
+++ b/visa/LocalScheduler/SWSB_G4IR.cpp
|
|
@@ -16,6 +16,7 @@ SPDX-License-Identifier: MIT
|
|
#include <algorithm>
|
|
#include <fstream>
|
|
#include <functional>
|
|
+#include <limits>
|
|
#include <sstream>
|
|
#include <queue>
|
|
|