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]
[ROCm/ROCR-Runtime commit: 20bed7ce7f]
Este commit está contenido en:
@@ -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
|
||||
|
||||
Referencia en una nueva incidencia
Block a user