P4 to Git Change 1787806 by yaxunl@yaxunl-lc10 on 2019/05/27 10:53:56
SWDEV-145570 - Support loading fat binary generated through --genco by hipModuleLoad.
hip-clang --genco generates fat binary instead of code object. To support that
we need to extract code object from fat binary in hipModuleLoadData. This is
needed for hipRTC since multiple GPU archs may be passed.
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_module.cpp#27 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_platform.cpp#31 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#42 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#308 edit
[ROCm/clr commit: c166e2513c]
Este cometimento está contido em:
@@ -181,6 +181,8 @@ release(cstring, CUDA_VISIBLE_DEVICES, "", \
|
||||
"Only devices whose index is present in the sequence are visible to HIP") \
|
||||
release(bool, GPU_ENABLE_WGP_MODE, true, \
|
||||
"Enables WGP Mode in HW if available") \
|
||||
release(bool, OCL_DUMP_CODE_OBJECT, false, \
|
||||
"Enable dump code object") \
|
||||
|
||||
namespace amd {
|
||||
|
||||
|
||||
Criar uma nova questão referindo esta
Bloquear um utilizador