P4 to Git Change 1982056 by kjayapra@3_HIPWS_TXT_ROCM on 2019/08/12 21:16:51

SWDEV-199635 - Setting VarInfoCallBack before all program builds.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_internal.hpp#36 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_module.cpp#33 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#58 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#97 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#106 edit


[ROCm/clr commit: 8cc1539b35]
Bu işleme şunda yer alıyor:
foreman
2019-08-12 21:22:47 -04:00
ebeveyn 5adbed7c63
işleme 75459bc6b7
3 değiştirilmiş dosya ile 18 ekleme ve 5 silme
+6 -2
Dosyayı Görüntüle
@@ -273,7 +273,9 @@ bool HSAILProgram::setKernels(amd::option::Options* options, void* binary, size_
return false;
}
defineUndefinedVars();
if (amd::IS_HIP) {
defineUndefinedVars();
}
// Load the code object.
hsa_code_object_reader_t codeObjectReader;
@@ -478,7 +480,9 @@ bool LightningProgram::setKernels(amd::option::Options* options, void* binary, s
return false;
}
defineUndefinedVars();
if (amd::IS_HIP) {
defineUndefinedVars();
}
// Load the code object.
status = hsa_code_object_reader_create_from_memory(binary, binSize, &hsaCodeObjectReader_);