[Beignet] [PATCH] Flush kernel source dump stream
Zhenyu Wang
zhenyuw at linux.intel.com
Tue Apr 12 06:45:09 UTC 2016
If kernel source dump is requested (OCL_OUTPUT_KERNEL_SOURCE),
try to always flush output stream when dump to get full content
under possible interrupt.
Signed-off-by: Zhenyu Wang <zhenyuw at linux.intel.com>
---
backend/src/backend/program.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/backend/src/backend/program.cpp b/backend/src/backend/program.cpp
index 5eee4cb..bf0763f 100644
--- a/backend/src/backend/program.cpp
+++ b/backend/src/backend/program.cpp
@@ -799,7 +799,7 @@ namespace gbe {
std::cout << options << std::endl;
}
std::cout << "CL kernel source:" << std::endl;
- std::cout << source;
+ std::cout << source << std::endl;
}
std::string includePath = "-I" + headerFilePath;
clOpt.push_back(includePath);
--
2.8.0.rc3
More information about the Beignet
mailing list