Split libHSAIL and libHSAIL-AMD (HSA Changes)

[git-p4: depot-paths = "//depot/stg/hsa/drivers/hsa/runtime/": change = 1223723]
This commit is contained in:
Nikolay Haustov [TEXT]
2015-12-28 10:00:43 -05:00
parent 2f0425d354
commit d8e67d962b
2 changed files with 5 additions and 0 deletions
+3
View File
@@ -11,6 +11,7 @@
#include "hsa.h"
#include "hsa_rsrc_factory.hpp"
#include "hsa_ext_finalize.h"
#include "HSAILAmdExt.h"
#include "common.hpp"
@@ -317,6 +318,8 @@ bool HsaRsrcFactory::LoadAndFinalize(AgentInfo *agent_info,
check("Error in Finding the Symbol Offset for the Kernel", status);
*/
amd::hsail::registerExtensions();
// Copy handle of Brig object
hsa_ext_module_t brig_module_v3;
if (!tool.assembleFromFile(brig_path)) {