c39ed65e6e
SWDEV-76911 - Boltzmann loader support
[Loader]
- Introduce Context::SegmentFreeze
- Called by loader once executable is being frozen
- [HRT] Causes memory transfer to appropriate system or local memory
- [ORT] Does nothing
- Change loading of kernel symbol to read values from the code object
- Change debugger backdoor initialization to use Context::SegmentCopy
[HSA RT]
- Remove outdated code
- Introduce SegmentMemory, BaseProfileMemory, FullProfileMemory classes
- Manage memory allocation/deallocation/copying/freezing
- Minor cleanups
[ORCA RT]
- Add empty ORCAHSALoaderContext::SegmentFreeze
Testing: precheckin (http://ocltc.amd.com:8111/viewModification.html?modId=60551&personal=true&tab=vcsModificationBuilds)
ReviewBoardURL: http://ocltc.amd.com/reviews/r/8681/
Affected files ...
... //depot/stg/opencl/drivers/opencl/compiler/sc/HSAIL/ext/loader/executable.cpp#14 integrate
... //depot/stg/opencl/drivers/opencl/compiler/sc/HSAIL/ext/loader/executable.hpp#10 integrate
... //depot/stg/opencl/drivers/opencl/compiler/sc/HSAIL/ext/loader/loaders.cpp#4 integrate
... //depot/stg/opencl/drivers/opencl/compiler/sc/HSAIL/ext/loader/loaders.hpp#4 integrate
... //depot/stg/opencl/drivers/opencl/compiler/sc/HSAIL/include/amd_hsa_loader.hpp#6 integrate
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.hpp#62 edit
[ROCm/clr commit: e3ff5a9c7d]