[Beignet] [PATCH] Fix loop condition of PrintfSet constructor.
Yan Wang
yan.wang at linux.intel.com
Thu Jan 8 00:50:25 PST 2015
Signed-off-by: Yan Wang <yan.wang at linux.intel.com>
---
backend/src/ir/printf.hpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/backend/src/ir/printf.hpp b/backend/src/ir/printf.hpp
index 3b176f6..cc1f8dc 100644
--- a/backend/src/ir/printf.hpp
+++ b/backend/src/ir/printf.hpp
@@ -176,7 +176,7 @@ namespace gbe
fmts.push_back(f);
}
- for (size_t i = 0; i < other.fmts.size(); ++i) {
+ for (size_t i = 0; i < other.slots.size(); ++i) {
PrintfSlot* s = other.slots[i];
slots.push_back(s);
}
--
1.9.3
More information about the Beignet
mailing list