feature: Adding support to clCreateProgramWithIL

Related-To: NEO-15701
Signed-off-by: Aleksandra Nizio <aleksandra.nizio@intel.com>
This commit is contained in:
Aleksandra Nizio
2025-09-29 15:19:56 +00:00
committed by Compute-Runtime-Automation
parent 7aa5349ba1
commit 2b8acba2f1
11 changed files with 63 additions and 22 deletions

View File

@@ -276,6 +276,7 @@ class Program : public BaseObject<_cl_program> {
Zebin::Debug::Segments getZebinSegments(uint32_t rootDeviceIndex);
MOCKABLE_VIRTUAL void callPopulateZebinExtendedArgsMetadataOnce(uint32_t rootDeviceIndex);
MOCKABLE_VIRTUAL void callGenerateDefaultExtendedArgsMetadataOnce(uint32_t rootDeviceIndex);
MOCKABLE_VIRTUAL cl_int createFromILExt(Context *context, const void *il, size_t length);
protected:
MOCKABLE_VIRTUAL cl_int createProgramFromBinary(const void *pBinary, size_t binarySize, ClDevice &clDevice);
@@ -388,6 +389,7 @@ class Program : public BaseObject<_cl_program> {
std::string decodeErrors;
std::string decodeWarnings;
} decodedSingleDeviceBinary;
IGC::CodeType::CodeType_t intermediateRepresentation = IGC::CodeType::invalid;
};
static_assert(NEO::NonCopyableAndNonMovable<Program>);