fix: Add AIL for Adobe Premiere Pro

Use legacy platform name: "Intel(R) OpenCL".

Resolves: HSD-22018809561

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
This commit is contained in:
Filip Hazubski
2023-09-11 21:29:01 +00:00
committed by Compute-Runtime-Automation
parent d9f938f3db
commit afba02afa9
4 changed files with 31 additions and 2 deletions

View File

@@ -15,6 +15,9 @@
#include <string_view>
namespace NEO {
const char legacyPlatformName[] = "Intel(R) OpenCL";
bool AILConfiguration::isKernelHashCorrect(const std::string &kernelsSources, uint64_t expectedHash) const {
const auto hash = Hash::hash(kernelsSources.c_str(), kernelsSources.length());
return hash == expectedHash;