mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-29 09:03:14 +08:00
CMake: correct test kernels naming + minor improvements
- For test kernels compiled with options passed, change their naming to
following convention:
{basename}_{options_passed}_{suffix}.
- Correct CMake variables naming.
- Refactor logic of retrieving test kernels' data (also in compilers
mock)
- In relation to previous changes: do not generate unnecessary
.gen binary for L0 test kernel
Related-To: NEO-7285
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
ceff16084d
commit
b41eed8438
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2018-2021 Intel Corporation
|
||||
* Copyright (C) 2018-2022 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@@ -22,6 +22,9 @@ KernelBinaryHelper::KernelBinaryHelper(const std::string &name, bool appendOptio
|
||||
retrieveBinaryKernelFilename(fclDebugVars.fileName, name + "_", ".bc");
|
||||
retrieveBinaryKernelFilename(igcDebugVars.fileName, name + "_", ".gen");
|
||||
|
||||
appendBinaryNameSuffix(fclDebugVars.fileNameSuffix);
|
||||
appendBinaryNameSuffix(igcDebugVars.fileNameSuffix);
|
||||
|
||||
fclDebugVars.appendOptionsToFileName = appendOptionsToFileName;
|
||||
igcDebugVars.appendOptionsToFileName = appendOptionsToFileName;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user