mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
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:

committed by
Compute-Runtime-Automation

parent
f1a1280549
commit
df2e31dbb0
12
opencl/test/unit_test/test_files/valid_kernel.cl
Normal file
12
opencl/test/unit_test/test_files/valid_kernel.cl
Normal 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];
|
||||
}
|
Reference in New Issue
Block a user