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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user