Print ocloc options from file on fail if quiet

Currently if ocloc fails and options are read from file, no information
about them will be printed or logged if -q is passed.

With this change, ocloc will print options read from file on compilation
or initialization error.

Related-To: NEO-6002


Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
This commit is contained in:
Dominik Dabek
2021-12-23 15:28:36 +00:00
committed by Compute-Runtime-Automation
parent f1a1280549
commit df2e31dbb0
8 changed files with 120 additions and 8 deletions

View File

@ -0,0 +1,12 @@
/*
* Copyright (C) 2018-2021 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
__kernel void CopyBuffer(__global unsigned int *src, __global unsigned int *dst) {
int id = (int)get_global_id(0);
dst[id] = lgamma((float)src[id]);
dst[id] = src[id];
}