Add handling for invalid kernel attribute

This commit adds handling for "invalid_kernel" kernel's attribute.
This attribute is present when kernel is invalid e.g. could not be
correctly compiled due to missing feature.

Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com>
This commit is contained in:
Krystian Chmielewski
2022-08-29 16:41:00 +00:00
committed by Compute-Runtime-Automation
parent 18af46296d
commit bb2967d2c6
7 changed files with 48 additions and 5 deletions

View File

@@ -9,6 +9,10 @@
#include <cstdint>
namespace iOpenCL {
struct SPatchKernelAttributesInfo;
}
namespace NEO {
struct KernelDescriptor;
@@ -17,5 +21,6 @@ struct KernelFromPatchtokens;
}
void populateKernelDescriptor(KernelDescriptor &dst, const PatchTokenBinary::KernelFromPatchtokens &src, uint32_t gpuPointerSizeInBytes);
void populateKernelDescriptor(KernelDescriptor &dst, const iOpenCL::SPatchKernelAttributesInfo &token);
} // namespace NEO