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 <[email protected]> --- 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 _______________________________________________ Beignet mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/beignet
