[Beignet] [PATCH] Flush kernel source dump stream
Yang, Rong R
rong.r.yang at intel.com
Wed Apr 13 03:42:48 UTC 2016
LGTM, pushed, thanks.
> -----Original Message-----
> From: Beignet [mailto:beignet-bounces at lists.freedesktop.org] On Behalf Of
> Zhenyu Wang
> Sent: Tuesday, April 12, 2016 14:45
> To: beignet at lists.freedesktop.org
> Subject: [Beignet] [PATCH] Flush kernel source dump stream
>
> 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
>
> _______________________________________________
> Beignet mailing list
> Beignet at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/beignet
More information about the Beignet
mailing list