SWDEV-80174 - changed the flag settting, so that the env variable OCL_SET_SVM_SIZE can be used on release version of opencl, not just for debug version.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#250 edit
[ROCm/clr commit: 232af87dbf]
SWDEV-2 - Change OpenCL version number from 1994 to 1995.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1741 edit
[ROCm/clr commit: 110e10c928]
SWDEV-2 - Change OpenCL version number from 1993 to 1994.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1740 edit
[ROCm/clr commit: 2192a538fa]
SWDEV-2 - Change OpenCL version number from 1992 to 1993.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1739 edit
[ROCm/clr commit: e5c218c895]
SWDEV-2 - Change OpenCL version number from 1991 to 1992.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1738 edit
[ROCm/clr commit: 9f8760555a]
SWDEV-2 - Change OpenCL version number from 1990 to 1991.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1737 edit
[ROCm/clr commit: cd4fcd1afe]
SWDEV-2 - Change OpenCL version number from 1989 to 1990.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1736 edit
[ROCm/clr commit: 5ccd02e65b]
SWDEV-2 - Change OpenCL version number from 1988 to 1989.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1735 edit
[ROCm/clr commit: bf0f6b71bf]
SWDEV-77584 - Fix ocl_conformance compiler failures.
1. If compiling in debug mode, linkImpl wasn't called and kernelNames wasn't set
which led to CL_INVALID_KERNEL_NAME errors in debug configs in TeamCity. Looking at AMDIL
code, there is no reason to skip linkImpl in debug mode.
2. Set types to TYPE_LIBRARY/TYPE_EXECUTABLE. This fixes ocl_conformance compiler program_binary_type.
Reviewed by: Evgeniy Mankov
Testing: smoke, pre-checkin, OCLSeparateCompile.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#218 edit
[ROCm/clr commit: b4f5366fe4]
SWDEV-2 - Change OpenCL version number from 1987 to 1988.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1734 edit
[ROCm/clr commit: cfc2b489df]
SWDEV-2 - Change OpenCL version number from 1986 to 1987.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1733 edit
[ROCm/clr commit: 422318b9aa]
SWDEV-2 - Change OpenCL version number from 1985 to 1986.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1732 edit
[ROCm/clr commit: 32568eec9b]
SWDEV-2 - Change OpenCL version number from 1984 to 1985.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1731 edit
[ROCm/clr commit: 4e074c4044]
SWDEV-2 - Change OpenCL version number from 1983 to 1984.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1730 edit
[ROCm/clr commit: fe72e17898]
SWDEV-66693 - OpenCL Runtime HW Debug support development - use flag, instead of getenv() call, in IOL to indicate the enablement of HW Debug.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#151 edit
[ROCm/clr commit: f15514da95]
SWDEV-80173 - Switching HSAIL on OpenCL stack by default.
1. HSAIL becomes default backend for OpenCL (all versions) on all GFX7+ (CI+) devices.
2. AMDIL stays default on pre CI+ devices.
3. AMDIL is forced implicitly:
a) for pre CI+ devices;
b) if clc++ extension is used: "-x -clc++";
c) if input IL is SPIR: "-x -spir";
4. To force AMDIL explicitly "-legacy" option should be added to AMD_OCL_BUILD_OPTIONS or AMD_OCL_BUILD_OPTIONS_APPEND environment variable.
5. SPIRV always goes through HSAIL and couldn't be forced to AMDIL explicitly or implicitly.
6. Compilation of Blit kernels couldn't be forced to AMDIL too, they are compiled via HSAIL on GFX7+, otherwise - via AMDIL. The logic is almost the same as it is currently.
7. test_driver.pl is switched to OpenCL 1.2/HSAIL by default. Previously OpenCL 2.0/HSAIL was by default and all OpenCL 1.2 tests went through AMDIL.
[Testing]
offline: weekly, smoke
online: bootleg, ocltst, ocl conformance 1.2/2.0, AMD SDK 3.0, Blender 2.76b, performance testing, manual testing on CI+ devices with forcing AMDIL "-legacy".
pre-checkin:
http://ocltc.amd.com:8111/viewModification.html?modId=64664&personal=true&buildTypeId=&tab=vcsModificationBuilds&show_all_builds=true
[Reviewers]
Brian Sumner, Stanislav Mekhanoshin, German Andryeyev, Nikolay Haustov
http://ocltc.amd.com/reviews/r/8850
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#248 edit
... //depot/stg/opencl/drivers/opencl/tests/hsa/bin/test_driver.pl#24 edit
[ROCm/clr commit: b01869b54b]
SWDEV-2 - Change OpenCL version number from 1982 to 1983.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1729 edit
[ROCm/clr commit: 719b49cde5]
SWDEV-80173 - remove the opt level adjustment based on the function size
Since it only limits the llvm backend, but not optimizer or SC it really hurts the compile time.
A huge unoptimized hsail after inlining and no backend optimizations goes to the SC with overwhelming results.
A proper way of addressing these issues is to keep inlining reasonable.
Testing: smoke, precheckin
Reviewed by Evgeny Mankov
Affected files ...
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/codegen.cpp#65 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Transforms/IPO/AMDInline.cpp#3 edit
[ROCm/clr commit: 13f385908c]
SWDEV-2 - Change OpenCL version number from 1981 to 1982.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1728 edit
[ROCm/clr commit: 0563042068]
SWDEV-2 - Change OpenCL version number from 1980 to 1981.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1727 edit
[ROCm/clr commit: 30759cdec9]
SWDEV-2 - Change OpenCL version number from 1979 to 1980.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1726 edit
[ROCm/clr commit: 85dc0b14b1]
SWDEV-2 - Change OpenCL version number from 1978 to 1979.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1725 edit
[ROCm/clr commit: 6d4a212f8c]
SWDEV-80173 - HSA HLC: disable liveness analysis and jump threading
After the investigation I have found liveness analysis never changed code generation in any of the benchmarks or applications.
Its only use is in the LICM and the hoisting limitation was never really triggered.
Since the analysis is very expensive I'm disabling it.
The jump threading is generally bad on the GPU because it creates unstructured control flow.
Even if hsail might become smaller and have less branches, it does not help because finalzier's structurizer will have to clone blocks.
Jump threading is disabled for GPU. This improves compilation speed and just slightly improves performance.
Testing: smoke, precheckin, vray and blender compilation
Reviewed by Daniil Fukalov
Affected files ...
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/OPTIONS.def#133 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/include/llvm/AMDLLVMContextHook.h#29 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Analysis/AMDLiveAnalysis.cpp#32 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Transforms/IPO/AMDPassManagerBuilder.cpp#61 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/tools/opt/amdopt.inc#29 edit
[ROCm/clr commit: 36fb8d6764]
SWDEV-2 - Change OpenCL version number from 1977 to 1978.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1724 edit
[ROCm/clr commit: deeb9b0bc9]
SWDEV-2 - Change OpenCL version number from 1976 to 1977.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1723 edit
[ROCm/clr commit: 3c12296bdc]
SWDEV-2 - Change OpenCL version number from 1975 to 1976.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1722 edit
[ROCm/clr commit: ada74e5849]
SWDEV-83467 - [SPIRV] Add support of SPIRV to CPU
Modifying runtime and compile time to allow SPIRV binaries to run on CPU since it only runs on HSAIL GPU
Added changes to allow conversion of CPU's llvmBinaryIsSpir boolean into compiler library's oclElfSections enum
Cpuprogram.cpp's llvmBinaryIsSpir flag renamed to elfSectionType will now support LLVMIR, SPIR, and SPIRV
Added SPIRV to compiler lib's elf as new oclElfSections enum
cpuprogram.cpp changes also made to gpuprogram.cpp's NullProgram to allow compilation
Affected files ...
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/elf/elf.cpp#33 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/elf/elf.hpp#22 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/cpu/cpuprogram.cpp#69 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#191 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#266 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpucompiler.cpp#152 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#217 edit
[ROCm/clr commit: 26be053088]
SWDEV-2 - Change OpenCL version number from 1974 to 1975.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1721 edit
[ROCm/clr commit: 82415554d4]
SWDEV-2 - Change OpenCL version number from 1973 to 1974.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1720 edit
[ROCm/clr commit: e2400375ae]
SWDEV-2 - Change OpenCL version number from 1972 to 1973.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1719 edit
[ROCm/clr commit: 202a318a7c]
SWDEV-2 - Change OpenCL version number from 1971 to 1972.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1718 edit
[ROCm/clr commit: 71d54a75af]
SWDEV-2 - Change OpenCL version number from 1970 to 1971.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1717 edit
[ROCm/clr commit: 1633e2c95d]
SWDEV-82296 - [CQE OCL][2.0][HWSC][16.10]SDK Sample "AtomicCounters" 32/64bit failed with HWSC driver
Disabling the cl_ext_atomic_counters_32 extension since there is no support for this extension on HSAIL and HWS.
ReviewBoardURL = http://ocltc.amd.com/reviews/r/9221/
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#265 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#538 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#338 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsasettings.cpp#11 edit
[ROCm/clr commit: 9b2fc7a77e]
SWDEV-2 - Change OpenCL version number from 1969 to 1970.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1716 edit
[ROCm/clr commit: b4dd604375]
SWDEV-2 - Change OpenCL version number from 1968 to 1969.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1715 edit
[ROCm/clr commit: f71d4a0f85]
SWDEV-2 - Change OpenCL version number from 1967 to 1968.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1714 edit
[ROCm/clr commit: 689df36770]
SWDEV-83242 - RT: disable ADL reload in app detect
Reload is disabled in ADL with the change list 1198904 and ticket
SWDEV-59442 - The ADL_ApplicationProfiles_System_Reload Function is not Re-entrant.
Returned value of the call is ADL_ERR_NOT_SUPPORTED on Windows.
Thus appprofiles do not currently work with the OpenCL.
This change removes reload call result check and profiles work again.
Testing: smoke, precheckin, use of customized app profile
Reviewed by German Andreev
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/appprofile.cpp#11 edit
[ROCm/clr commit: 86fe69e9ef]
SWDEV-2 - Change OpenCL version number from 1966 to 1967.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1713 edit
[ROCm/clr commit: e9b3baa3d0]
SWDEV-2 - Change OpenCL version number from 1965 to 1966.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1712 edit
[ROCm/clr commit: 74654a527b]
SWDEV-2 - Change OpenCL version number from 1964 to 1965.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1711 edit
[ROCm/clr commit: 59a63e01af]
SWDEV-2 - Change OpenCL version number from 1963 to 1964.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1710 edit
[ROCm/clr commit: 137ceadfbb]
SWDEV-2 - Change OpenCL version number from 1962 to 1963.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1709 edit
[ROCm/clr commit: c28504a63c]