ECR #333753 - HSA RT/Compiler Lib/Performance: Elimination of HSAIL text usage in RT
Extracting HSAIL from the binary and parsing it for the kernel names in RT were replaced with aclQueryInfo call for RT_KERNEL_NAMES.
Kernel names are obtained now from the corresponding metadata symbols names, which are already presented in BIF at kernel finalization stage.
Side effect: performance improvement
Next Step: Performance: elimination of BRIG disassembling to HSAIL as obligatory stage in Compiler Lib (previously was needed only by RT).
Testing: pre check-in, ocl conformnace 2.0 (basic, api, compiler, workgroups, device_execution)
Reviewers: Stanislav Mekhanoshin, German Andryeyev, Brian Sumner
Affected files ...
... //depot/stg/opencl/drivers/opencl/compiler/lib/api/v0_8/acl.cpp#20 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/v0_8/if_acl.cpp#51 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/include/v0_8/aclEnums.h#13 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/bif/bifbase.cpp#50 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/bif/bifbase.hpp#22 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.h#11 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.cpp#266 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#179 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/CLEnumCheck.cpp#37 edit
EPR #010002 - Change OpenCL version number from 1650 to 1651.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1397 edit
[ROCm/clr commit: 1001028b9b]
EPR #010002 - Change OpenCL version number from 1650 to 1651.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1397 edit
EPR #403387 - Removed the check for multi devices in clCreateBufferFromImageAMD becasue this function works with the case of multi devices.
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_memobj.cpp#69 edit
[ROCm/clr commit: 33775d226d]
EPR #403387 - Removed the check for multi devices in clCreateBufferFromImageAMD becasue this function works with the case of multi devices.
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_memobj.cpp#69 edit
EPR #010002 - Change OpenCL version number from 1649 to 1650.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1396 edit
[ROCm/clr commit: 2343bbf8c6]
EPR #010002 - Change OpenCL version number from 1649 to 1650.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1396 edit
ECR #377625 - AMDIL Function support: allow functions without names to be not inlined.
Affected files ...
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/linker.cpp#114 edit
[ROCm/clr commit: 26ad0e1a8e]
ECR #377625 - AMDIL Function support: allow functions without names to be not inlined.
Affected files ...
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/linker.cpp#114 edit
EPR #010002 - Change OpenCL version number from 1648 to 1649.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1395 edit
[ROCm/clr commit: c0c60308d3]
EPR #010002 - Change OpenCL version number from 1648 to 1649.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1395 edit
ECR #304775 - clp re-implementation - refactoring and generalization of clpVectorExpansion to work on both AMDIL and CPU path, HSAIL path not included yet.
Affected files ...
... //depot/stg/opencl/drivers/opencl/compiler/clc/clpSrc/build/Makefile.clp#5 edit
... //depot/stg/opencl/drivers/opencl/compiler/clc/clpSrc/clpVectorExpansion.cpp#27 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/linker.cpp#113 edit
... //depot/stg/opencl/drivers/opencl/library/common/src/commonConversions.cl#16 edit
... //depot/stg/opencl/drivers/opencl/library/x86/gen/build/Makefile.gen#16 edit
[ROCm/clr commit: bb6fa26029]
ECR #304775 - clp re-implementation - refactoring and generalization of clpVectorExpansion to work on both AMDIL and CPU path, HSAIL path not included yet.
Affected files ...
... //depot/stg/opencl/drivers/opencl/compiler/clc/clpSrc/build/Makefile.clp#5 edit
... //depot/stg/opencl/drivers/opencl/compiler/clc/clpSrc/clpVectorExpansion.cpp#27 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/linker.cpp#113 edit
... //depot/stg/opencl/drivers/opencl/library/common/src/commonConversions.cl#16 edit
... //depot/stg/opencl/drivers/opencl/library/x86/gen/build/Makefile.gen#16 edit
ECR #304775 - Reduce the total number of renames to 16.
- Use 128KB for CB size on SI+
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#286 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#334 edit
[ROCm/clr commit: f48b935b43]
ECR #304775 - Reduce the total number of renames to 16.
- Use 128KB for CB size on SI+
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#286 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#334 edit
ECR #333753 - HSA HLC: decouple hsail inlining options and threshold from amdil/cpu
This allows selective enablement of the feature and selective tuning of the threshold depending on the target.
Testing: smoke, smoke_clang, precheckin
Reviewed by Nikolay Haustov
Affected files ...
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/opt_level.cpp#21 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/include/llvm/Transforms/IPO/AMDOptOptions.h#6 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Transforms/IPO/AMDOptOptions.cpp#6 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Transforms/IPO/AMDPassManagerBuilder.cpp#44 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/tools/opt/amdopt.inc#21 edit
[ROCm/clr commit: 3faaeb958f]
ECR #333753 - HSA HLC: decouple hsail inlining options and threshold from amdil/cpu
This allows selective enablement of the feature and selective tuning of the threshold depending on the target.
Testing: smoke, smoke_clang, precheckin
Reviewed by Nikolay Haustov
Affected files ...
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/opt_level.cpp#21 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/include/llvm/Transforms/IPO/AMDOptOptions.h#6 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Transforms/IPO/AMDOptOptions.cpp#6 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Transforms/IPO/AMDPassManagerBuilder.cpp#44 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/tools/opt/amdopt.inc#21 edit
EPR #010002 - Change OpenCL version number from 1647 to 1648.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1394 edit
[ROCm/clr commit: 654c244bd1]
EPR #010002 - Change OpenCL version number from 1647 to 1648.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1394 edit
EPR #406110 - OCL20:Basic subtest fails when running on GPU
- Reduce max prog variable size to 90% of max single allocation
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#465 edit
[ROCm/clr commit: 617422f40f]
EPR #406110 - OCL20:Basic subtest fails when running on GPU
- Reduce max prog variable size to 90% of max single allocation
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#465 edit
EPR #010002 - Change OpenCL version number from 1646 to 1647.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1393 edit
[ROCm/clr commit: ad5a7696d1]
EPR #010002 - Change OpenCL version number from 1646 to 1647.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1393 edit
EPR #010002 - Change OpenCL version number from 1645 to 1646.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1392 edit
[ROCm/clr commit: 511742dee7]
EPR #010002 - Change OpenCL version number from 1645 to 1646.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1392 edit
EPR #010002 - Change OpenCL version number from 1644 to 1645.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1391 edit
[ROCm/clr commit: ae5911684c]
EPR #010002 - Change OpenCL version number from 1644 to 1645.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1391 edit
EPR #405824 - Back out changelist 1079967. It causes regressions in other apus.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#464 edit
[ROCm/clr commit: 93e05cdac8]
EPR #405824 - Back out changelist 1079967. It causes regressions in other apus.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#464 edit
EPR #399601 - Back out changelist 1080047 to have CZ report as 2.0 device.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#285 edit
[ROCm/clr commit: a510b4480b]