EPR #403782 - IOMMU2/SVM
- Handle case of only one DMA engine available, for example with SVM.
ReviewBoardURL = http://ocltc.amd.com/reviews/r/7284/diff/
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#506 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.hpp#142 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#357 edit
[ROCm/clr commit: 32c073c558]
EPR #403782 - IOMMU2/SVM
- Handle case of only one DMA engine available, for example with SVM.
ReviewBoardURL = http://ocltc.amd.com/reviews/r/7284/diff/
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#506 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.hpp#142 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#357 edit
ECR #304775 - Some code clean-up
- Remove amd::Context reference from the event object. Runtime can use queue to get the context for the limited number of use cases
- User/GL events will keep the context as a member
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_event.cpp#8 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/command.cpp#69 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/command.hpp#75 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/memory.cpp#120 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/memory.hpp#91 edit
[ROCm/clr commit: 0fd491cbb4]
ECR #304775 - Some code clean-up
- Remove amd::Context reference from the event object. Runtime can use queue to get the context for the limited number of use cases
- User/GL events will keep the context as a member
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_event.cpp#8 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/command.cpp#69 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/command.hpp#75 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/memory.cpp#120 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/memory.hpp#91 edit
ECR #304775 - Some code clean-up
- Remove amd::Context reference from the event object. Runtime can use queue to get the context for the limited number of use cases
- User/GL events will keep the context as a member
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_event.cpp#8 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/command.cpp#69 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/command.hpp#75 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/memory.cpp#120 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/memory.hpp#91 edit
[ROCm/clr commit: 458cca25ce]
ECR #304775 - Some code clean-up
- Remove amd::Context reference from the event object. Runtime can use queue to get the context for the limited number of use cases
- User/GL events will keep the context as a member
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_event.cpp#8 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/command.cpp#69 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/command.hpp#75 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/memory.cpp#120 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/memory.hpp#91 edit
EPR #010002 - Change OpenCL version number from 1772 to 1773.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1519 edit
[ROCm/clr commit: c4bbb00b35]
EPR #010002 - Change OpenCL version number from 1772 to 1773.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1519 edit
ECR #333755 - hide elftoolchain libelf symbols.
Issue: the libelf symbol statically linked to libamdocl is made global by default and leaking to HSA runtime library. This causes an issue if HSA runtime is linked against non-elftoolchain libelf, e.g.: elfutils libelf.
Review: http://ocltc/reviews/r/7271/
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/amdocl.map.in#13 edit
[ROCm/clr commit: 7d33be386e]
ECR #333755 - hide elftoolchain libelf symbols.
Issue: the libelf symbol statically linked to libamdocl is made global by default and leaking to HSA runtime library. This causes an issue if HSA runtime is linked against non-elftoolchain libelf, e.g.: elfutils libelf.
Review: http://ocltc/reviews/r/7271/
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/amdocl.map.in#13 edit
EPR #010002 - Change OpenCL version number from 1771 to 1772.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1518 edit
[ROCm/clr commit: 1d86140b9a]
EPR #010002 - Change OpenCL version number from 1771 to 1772.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1518 edit
EPR #403782 - IOMMU2/SVM
- Enable SCOption_R1200_ENABLE_XNACK whenever IOMMUv2 is supported.
- Add "-sc-xnack-iommu" option for compile and link and pass this to SCWrapper in the options string.
ReviewBoardURL = http://ocltc.amd.com/reviews/r/7266/diff/
Affected files ...
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/scwrapper/SI/scStateSI.cpp#30 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/OPTIONS.def#122 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.cpp#282 edit
EPR #010002 - Change OpenCL version number from 1770 to 1771.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1517 edit
[ROCm/clr commit: fd97e52530]
EPR #010002 - Change OpenCL version number from 1770 to 1771.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1517 edit
EPR #010002 - Change OpenCL version number from 1769 to 1770.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1516 edit
[ROCm/clr commit: 3f6c269c74]
EPR #010002 - Change OpenCL version number from 1769 to 1770.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1516 edit
EPR #010002 - Change OpenCL version number from 1768 to 1769.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1515 edit
[ROCm/clr commit: 9bff526ef0]
EPR #010002 - Change OpenCL version number from 1768 to 1769.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1515 edit
ECR #333753 - TargetMachine is created not only for codegen, but for optimizer as well
This is to provide target specific optimizations in the intermediate optimizer.
LLVM 3.6 provides TargetTransformInfo for this purpose which requires TargetMachine.
No correctness issues will occur if TargetInfo is not created, but optmizations will target generic machine.
Testing: smoke, precheckin
Reviewed by Evgeny Mankov
Affected files ...
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/codegen.cpp#60 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/opt_level.cpp#23 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/opt_level.hpp#3 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/optimizer.cpp#25 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.cpp#6 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.h#16 edit
[ROCm/clr commit: 5f67b5bb68]
ECR #333753 - TargetMachine is created not only for codegen, but for optimizer as well
This is to provide target specific optimizations in the intermediate optimizer.
LLVM 3.6 provides TargetTransformInfo for this purpose which requires TargetMachine.
No correctness issues will occur if TargetInfo is not created, but optmizations will target generic machine.
Testing: smoke, precheckin
Reviewed by Evgeny Mankov
Affected files ...
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/codegen.cpp#60 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/opt_level.cpp#23 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/opt_level.hpp#3 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/optimizer.cpp#25 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.cpp#6 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.h#16 edit
EPR #010002 - Change OpenCL version number from 1767 to 1768.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1514 edit
[ROCm/clr commit: e8b97ef23f]