Revert "HIP program state re-initialization logic"

This reverts commit e5ca9eb081.


[ROCm/hip commit: 2604f33930]
This commit is contained in:
Wen-Heng (Jack) Chung
2018-08-03 17:03:04 -05:00
parent 48406c881c
commit 38b6402860
3 changed files with 32 additions and 124 deletions
@@ -93,12 +93,11 @@ public:
}
};
const std::unordered_map<hsa_agent_t, std::vector<hsa_executable_t>>& executables(
bool rebuild = false);
const std::unordered_map<hsa_agent_t, std::vector<hsa_executable_t>>& executables();
const std::unordered_map<std::uintptr_t, std::vector<std::pair<hsa_agent_t, Kernel_descriptor>>>&
functions(bool rebuild = false);
const std::unordered_map<std::uintptr_t, std::string>& function_names(bool rebuild = false);
std::unordered_map<std::string, void*>& globals(bool rebuild = false);
functions();
const std::unordered_map<std::uintptr_t, std::string>& function_names();
std::unordered_map<std::string, void*>& globals();
hsa_executable_t load_executable(const std::string& file, hsa_executable_t executable,
hsa_agent_t agent);