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
Tá an tiomantas seo le fáil i:
Jason Tang údaraithe agus Jason Tang tiomanta 2021-09-01 09:25:40 -04:00
1 tuismitheoir 7f83bcdb45
tiomantas 1d0364e590
2 comhad athraithe
+17 -12

Níor tháinig aon chomhaid le do chuardach

+1
Féach ar an gComhad
@@ -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