ECR #333756 - Add support for relocations/offline global support in finalizer/loader
Testing: precheckin (http://ocltc:8111/viewModification.html?modId=51121&personal=true&init=1&tab=vcsModificationBuilds) [git-p4: depot-paths = "//depot/stg/hsa/drivers/hsa/runtime/": change = 1147298]
这个提交包含在:
@@ -98,7 +98,7 @@ bool HSA_UTIL::HsaInit()
|
||||
|
||||
// Get symbol handle.
|
||||
hsa_executable_symbol_t kernelSymbol;
|
||||
err = hsa_executable_get_symbol(hsaExecutable, "", hsa_kernel_name, device, 0, &kernelSymbol);
|
||||
err = hsa_executable_get_symbol(hsaExecutable, NULL, hsa_kernel_name, device, 0, &kernelSymbol);
|
||||
check("get symbol handle", err);
|
||||
|
||||
// Get code handle.
|
||||
|
||||
@@ -278,7 +278,7 @@ bool HsaRsrcFactory::LoadAndFinalize(AgentInfo *agent_info,
|
||||
|
||||
// Get symbol handle.
|
||||
hsa_executable_symbol_t kernelSymbol;
|
||||
status = hsa_executable_get_symbol(hsaExecutable, "",
|
||||
status = hsa_executable_get_symbol(hsaExecutable, NULL,
|
||||
kernel_name, agent_info->dev_id, 0, &kernelSymbol);
|
||||
|
||||
// Update output parameter
|
||||
|
||||
在新工单中引用
屏蔽一个用户