SWDEV-2 - Change OpenCL version number from 1966 to 1967.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1713 edit
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 1965 to 1966.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1712 edit
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 1964 to 1965.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1711 edit
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 1963 to 1964.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1710 edit
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]
SWDEV-2 - Change OpenCL version number from 1962 to 1963.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1709 edit
SWDEV-2 - Change OpenCL version number from 1961 to 1962.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1708 edit
[ROCm/clr commit: 9de775b2f3]
SWDEV-2 - Change OpenCL version number from 1961 to 1962.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1708 edit
SWDEV-82256 - Limit the workaround for Win 7 only because KMD has fixed TDR issue on Win 8.1/10
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#336 edit
[ROCm/clr commit: 6b762d400f]
SWDEV-82256 - Limit the workaround for Win 7 only because KMD has fixed TDR issue on Win 8.1/10
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#336 edit
SWDEV-2 - Change OpenCL version number from 1960 to 1961.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1707 edit
[ROCm/clr commit: f3a106f125]
SWDEV-2 - Change OpenCL version number from 1960 to 1961.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1707 edit
This will also fix out of bound access in functions
fmm_get_aperture_base_and_limit and fmm_release
Change-Id: Icf064c46647e69a069126171dbacdf3d5b27f972
Signed-off-by: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>
This will also fix out of bound access in functions
fmm_get_aperture_base_and_limit and fmm_release
Change-Id: Icf064c46647e69a069126171dbacdf3d5b27f972
Signed-off-by: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>
[ROCm/ROCR-Runtime commit: a4cf02d797]
SWDEV-2 - Change OpenCL version number from 1959 to 1960.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1706 edit
[ROCm/clr commit: ae519cdf56]
SWDEV-2 - Change OpenCL version number from 1959 to 1960.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1706 edit
SWDEV-2 - Change OpenCL version number from 1958 to 1959.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1705 edit
[ROCm/clr commit: 828fe4a2d8]
SWDEV-2 - Change OpenCL version number from 1958 to 1959.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1705 edit
SWDEV-2 - Change OpenCL version number from 1957 to 1958.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1704 edit
[ROCm/clr commit: 6c19b7d71c]
SWDEV-2 - Change OpenCL version number from 1957 to 1958.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1704 edit
SWDEV-82205 - Increased workloard to pass this test.
- This is workaround because KMD don't have solution to fix TDR issue yet in 15.30.
- This workaround including CL#1201765 should be reverted once KMD has a fix
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#335 edit
[ROCm/clr commit: 217ef518c4]
SWDEV-82205 - Increased workloard to pass this test.
- This is workaround because KMD don't have solution to fix TDR issue yet in 15.30.
- This workaround including CL#1201765 should be reverted once KMD has a fix
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#335 edit
SWDEV-2 - Change OpenCL version number from 1956 to 1957.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1703 edit
[ROCm/clr commit: ca1ab4b444]
SWDEV-2 - Change OpenCL version number from 1956 to 1957.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1703 edit
dgpu_aperture and dgpu_alt_aperture will be shared by all dGPUs.
Change-Id: I814495e43b51acabdc6266cfa8d83db5a062e20d
Signed-off-by: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>
dgpu_aperture and dgpu_alt_aperture will be shared by all dGPUs.
Change-Id: I814495e43b51acabdc6266cfa8d83db5a062e20d
Signed-off-by: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>
[ROCm/ROCR-Runtime commit: 2903a610e1]
SWDEV-2 - Change OpenCL version number from 1955 to 1956.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1702 edit
[ROCm/clr commit: 26c0df5551]
SWDEV-2 - Change OpenCL version number from 1955 to 1956.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1702 edit
SWDEV-82596 - HSA HLC: Create AMDInline pass
The generic llvm inlining heuristcs do not work well for GPU.
In particular we have a common problem in several tests:
If we have a pointer to private array passed into a function it will not be optimized out, leaving scratch usage.
The pass increases the inline threshold to allow inliniting in this case.
Also that we can move at least some AMD inlining customizations into this file from the common code.
Inline hint threshold is moved in this change.
Performance impact on ocltst sha256, 32 bit, Fiji:
AMDIL HSAIL Diff HSAIL+Inliner Diff Diff
before to AMDIL to HSAIL to AMDIL
OCLPerfSHA256[ 0] 43.843 40.894 0.93 69.910 1.71 1.59
OCLPerfSHA256[ 1] 53.611 51.083 0.95 80.919 1.58 1.51
OCLPerfSHA256[ 2] 52.127 51.528 0.99 80.640 1.56 1.55
OCLPerfSHA256[ 3] 60.952 57.027 0.94 68.615 1.20 1.13
OCLPerfSHA256[ 4] 76.173 70.150 0.92 80.582 1.15 1.06
OCLPerfSHA256[ 5] 75.886 70.264 0.93 81.000 1.15 1.07
Testing: smoke, precheckin, ocltst sha256
Reviewed by Danill Fukalov
Affected files ...
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/opt_level.cpp#28 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/include/llvm/InitializePasses.h#93 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/include/llvm/LinkAllPasses.h#49 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/include/llvm/Transforms/IPO.h#32 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Transforms/IPO/AMDInline.cpp#1 add
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Transforms/IPO/CMakeLists.txt#24 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Transforms/IPO/IPO.cpp#32 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Transforms/IPO/Inliner.cpp#42 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/tools/opt/amdopt.inc#28 edit
[ROCm/clr commit: 5e3d4f5a01]
SWDEV-82596 - HSA HLC: Create AMDInline pass
The generic llvm inlining heuristcs do not work well for GPU.
In particular we have a common problem in several tests:
If we have a pointer to private array passed into a function it will not be optimized out, leaving scratch usage.
The pass increases the inline threshold to allow inliniting in this case.
Also that we can move at least some AMD inlining customizations into this file from the common code.
Inline hint threshold is moved in this change.
Performance impact on ocltst sha256, 32 bit, Fiji:
AMDIL HSAIL Diff HSAIL+Inliner Diff Diff
before to AMDIL to HSAIL to AMDIL
OCLPerfSHA256[ 0] 43.843 40.894 0.93 69.910 1.71 1.59
OCLPerfSHA256[ 1] 53.611 51.083 0.95 80.919 1.58 1.51
OCLPerfSHA256[ 2] 52.127 51.528 0.99 80.640 1.56 1.55
OCLPerfSHA256[ 3] 60.952 57.027 0.94 68.615 1.20 1.13
OCLPerfSHA256[ 4] 76.173 70.150 0.92 80.582 1.15 1.06
OCLPerfSHA256[ 5] 75.886 70.264 0.93 81.000 1.15 1.07
Testing: smoke, precheckin, ocltst sha256
Reviewed by Danill Fukalov
Affected files ...
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/opt_level.cpp#28 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/include/llvm/InitializePasses.h#93 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/include/llvm/LinkAllPasses.h#49 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/include/llvm/Transforms/IPO.h#32 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Transforms/IPO/AMDInline.cpp#1 add
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Transforms/IPO/CMakeLists.txt#24 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Transforms/IPO/IPO.cpp#32 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Transforms/IPO/Inliner.cpp#42 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/tools/opt/amdopt.inc#28 edit
SWDEV-2 - Change OpenCL version number from 1954 to 1955.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1701 edit
[ROCm/clr commit: 4cefa6126f]
SWDEV-2 - Change OpenCL version number from 1954 to 1955.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1701 edit
SWDEV-2 - Change OpenCL version number from 1953 to 1954.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1700 edit
[ROCm/clr commit: cf8e10a104]
SWDEV-2 - Change OpenCL version number from 1953 to 1954.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1700 edit
Break from the for-loop once dgpu VM range is found, otherwise the
length is reduced by half
Change-Id: Ie602054c16ea69ea1cbb75e804ead551bc3615c0
Signed-off-by: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>
Break from the for-loop once dgpu VM range is found, otherwise the
length is reduced by half
Change-Id: Ie602054c16ea69ea1cbb75e804ead551bc3615c0
Signed-off-by: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>
[ROCm/ROCR-Runtime commit: 5a55383baf]
SWDEV-82054 - [CQE OCL][QR][LNX] RQ Conformance "Integer_Ops" test is crashing on CPU; Faulty CL#1206023.
In llvm32 by default llvm::DisablePrettyStackTrace is off, which causes a trap handler installed by default and interferes with the trap handler in runtime, causing unhandled SIGFPE exceptions when executing conformance/integer_ops on certain cpu.
To fix this, put stack trace duping under an env var AMD_DUMP_STACK_TRACE and set llvm::DisablePrettyStackTrace=true by default.
Here env var is used because there is still no elf binary at this stage to pass the compiler option to if_aclCompilerInit.
Affected files ...
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/backends/common/v0_8/if_acl.cpp#8 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/v0_8/if_acl.cpp#86 edit
[ROCm/clr commit: ccc2b4ce79]
SWDEV-82054 - [CQE OCL][QR][LNX] RQ Conformance "Integer_Ops" test is crashing on CPU; Faulty CL#1206023.
In llvm32 by default llvm::DisablePrettyStackTrace is off, which causes a trap handler installed by default and interferes with the trap handler in runtime, causing unhandled SIGFPE exceptions when executing conformance/integer_ops on certain cpu.
To fix this, put stack trace duping under an env var AMD_DUMP_STACK_TRACE and set llvm::DisablePrettyStackTrace=true by default.
Here env var is used because there is still no elf binary at this stage to pass the compiler option to if_aclCompilerInit.
Affected files ...
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/backends/common/v0_8/if_acl.cpp#8 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/v0_8/if_acl.cpp#86 edit
SWDEV-2 - Change OpenCL version number from 1952 to 1953.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1699 edit
[ROCm/clr commit: 4035e3b21b]
SWDEV-2 - Change OpenCL version number from 1952 to 1953.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1699 edit
SWDEV-2 - Change OpenCL version number from 1951 to 1952.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1698 edit
[ROCm/clr commit: 8da0a97e7f]
SWDEV-2 - Change OpenCL version number from 1951 to 1952.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1698 edit
SWDEV-2 - Change OpenCL version number from 1950 to 1951.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1697 edit
[ROCm/clr commit: 9db300e6d4]