SWDEV-294768 - Fix PCMark10 performance drop

PCMark10 counts the time spent in clCreateKernel as part of execution
time, so as workaround for the PAL path, move code object loading
back to clBuildProgram.

Change-Id: I3b9cf1879ece08ab59f447ec165b0525bc8593a4


[ROCm/clr commit: 1d0364e590]
This commit is contained in:
Jason Tang authored and Jason Tang committed 2021-09-01 09:25:40 -04:00
1 szülő d1a3931d68
commit d623a6de19
2 files changed
+17 -12

No files matched your search

@@ -36,6 +36,7 @@ bool Comgr::LoadLib() {
WINDOWS_SWITCH("amd_comgr.dll", "libamd_comgr.so.2"));
cep_.handle = Os::loadLibrary(ComgrLibName);
if (nullptr == cep_.handle) {
ClPrint(amd::LOG_ERROR, amd::LOG_CODE, "Failed to load COMGR library.");
return false;
}
#endif