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

This reverts commit e53df57ffe.

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
This commit is contained in:
Tao Sang
2024-05-13 12:21:06 -04:00
committed by Maneesh Gupta
parent a4dbc97bd7
commit a1350fe8c1
11 changed files with 427 additions and 474 deletions
+4
View File
@@ -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);