mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-20 00:24:58 +08:00
Added 'link' option to ocloc CLI, which allows linking of several IR files to single output file. Supported formats of output file are ELF and LLVM BC. Related-To: NEO-6163 Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com>
22 lines
370 B
C++
22 lines
370 B
C++
/*
|
|
* Copyright (C) 2022 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
namespace NEO::OclocErrorCode {
|
|
|
|
enum {
|
|
SUCCESS = 0,
|
|
OUT_OF_HOST_MEMORY = -6,
|
|
BUILD_PROGRAM_FAILURE = -11,
|
|
INVALID_DEVICE = -33,
|
|
INVALID_PROGRAM = -44,
|
|
INVALID_COMMAND_LINE = -5150,
|
|
INVALID_FILE = -5151,
|
|
};
|
|
|
|
} // namespace NEO::OclocErrorCode
|