2
0

Revert "SWDEV-433371 - use comgr to unbundle code objects"

This reverts commit c0ee0ffa1c.

Reason for revert: <INSERT REASONING HERE>
New comgr unbundling action leads to perf drop for uncompressed code object.   Will create a new patch to use old path for uncompressed , new unbundling api for compressed . 

Change-Id: I41ef53b71fc9f7aaa8cf231d4d70945f1117db52


[ROCm/clr commit: a1350fe8c1]
Este cometimento está contido em:
Tao Sang
2024-05-13 12:21:06 -04:00
cometido por Maneesh Gupta
ascendente ad24101e5e
cometimento 5bf67d7da7
11 ficheiros modificados com 427 adições e 474 eliminações
+4
Ver ficheiro
@@ -66,6 +66,10 @@ hipError_t hipModuleLoadDataEx(hipModule_t* module, const void* image, unsigned
HIP_RETURN(PlatformState::instance().loadModule(module, 0, image));
}
extern hipError_t __hipExtractCodeObjectFromFatBinary(
const void* data, const std::vector<std::string>& devices,
std::vector<std::pair<const void*, size_t>>& code_objs);
hipError_t hipModuleGetFunction(hipFunction_t* hfunc, hipModule_t hmod, const char* name) {
HIP_INIT_API(hipModuleGetFunction, hfunc, hmod, name);