SWDEV-2 - Change OpenCL version number from 2018 to 2019.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1765 edit
[ROCm/clr commit: 91ed3c45fc]
SWDEV-85649 - The return of owner() needs to be casted to get amd::Image.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpumemory.cpp#125 edit
[ROCm/clr commit: 4ad4539710]
SWDEV-79308 - Use 64-bit to calculate the scratch buffer size for OCL. We observed that the computed scratch buffer size could be > 4G when compilier optimization option is not used.
Cross branch change - requires CL1231547.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#157 edit
[ROCm/clr commit: 80ab916a5b]
SWDEV-2 - Change OpenCL version number from 2017 to 2018.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1764 edit
[ROCm/clr commit: e33c3ccfea]
SWDEV-2 - Change OpenCL version number from 2016 to 2017.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1763 edit
[ROCm/clr commit: 7f314354ff]
SWDEV-2 - Change OpenCL version number from 2015 to 2016.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1762 edit
[ROCm/clr commit: e86b145ec2]
SWDEV-2 - Change OpenCL version number from 2014 to 2015.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1761 edit
[ROCm/clr commit: a31a0abe40]
SWDEV-2 - Change OpenCL version number from 2013 to 2014.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1760 edit
[ROCm/clr commit: bf64f1645e]
SWDEV-2 - Change OpenCL version number from 2012 to 2013.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1759 edit
[ROCm/clr commit: 46d0ec7830]
SWDEV-82353 - Remove assert and only assign the customHostAllocDevice_ with the first device that has customHostAllocator.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/platform/context.cpp#38 edit
[ROCm/clr commit: 7bf5bb51b5]
SWDEV-2 - Change OpenCL version number from 2011 to 2012.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1758 edit
[ROCm/clr commit: a6a7510986]
SWDEV-82159 - [CQE OCL][ISV][QR] Error is observed while debugging the sample with CodeXL; Faulty CL:1208929
[Synopsis]
compile from binary logic changes caused issue with resulting binary generation in CodeXL
[Solution]
do not use compile options from binary if they are explicitly specified
[Testing]
precheckin, MCL
Reviewed by Evgeniy Mankov, German Andryeyev
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/platform/program.cpp#78 edit
[ROCm/clr commit: 22b26ca387]
SWDEV-2 - Change OpenCL version number from 2010 to 2011.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1757 edit
[ROCm/clr commit: 86962e50fe]
SWDEV-85602 - rename hsail-64 arch to hsail64
This is to match other existing llvm targets, such as spir64 and amdil64, as well as to match behavior of open source HSAIL BE.
For legacy users there is alias "-hsail-64" provided in the aoc2 only.
Testing: smoke, precheckin
Reviewed by Matthew Arsenault, Evgeny Mankov and Nikolay Haustov
Affected files ...
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/backends/common/codegen.cpp#2 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/backends/common/frontend.cpp#4 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings.h#5 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/codegen.cpp#66 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/frontend.cpp#37 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings.h#37 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/HSAILTargetMachine.cpp#53 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/TargetInfo/HSAILTargetInfo.cpp#6 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/tools/aacl/aa.h#2 edit
... //depot/stg/opencl/drivers/opencl/compiler/tools/aoc2/aoc2.cpp#80 edit
... //depot/stg/opencl/drivers/opencl/library/hsa/amp_libm/build/Makefile.amp_libm#4 edit
... //depot/stg/opencl/drivers/opencl/library/hsa/gcn/build/Makefile.gcn#20 edit
... //depot/stg/opencl/drivers/opencl/library/hsa/gcndev/build/Makefile.gcndev#3 edit
... //depot/stg/opencl/drivers/opencl/library/hsa/hsail/build/Makefile.hsail#44 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpucompiler.cpp#153 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#222 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsacompiler.cpp#5 edit
... //depot/stg/opencl/drivers/opencl/tests/hsa/bin/test_driver.pl#25 edit
... //depot/stg/opencl/drivers/opencl/tests/hsa/tlst/complib.tlst#21 edit
... //depot/stg/opencl/drivers/opencl/tests/hsa/tlst/ocl_debug.tlst#9 edit
... //depot/stg/opencl/drivers/opencl/tests/hsa/tlst/ocl_regression.tlst#25 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/spir/SPIRBase.cpp#3 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/spir/SPIRVBasic.cpp#10 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/spir/SPIRVDropIn.cpp#5 edit
[ROCm/clr commit: 14179df14f]
SWDEV-83192 - [CQE OCL][2.0][QR] Few MCLSubtests are falling due to faulty cl#1208929
[Synopsis]
Failure is because of additional check on compilation options existence in binary, which are expected in a separate section in the input binary. Options are expected on HSAIL path in order to make a decision whether to recompile or not the input code. AMDIL path has another strategy for recompilation algorithm and doesn't need options to be obligatory presented in input binary.
[Solution]
Remove options existence check in the input binary when compiling from BINARY_TYPE_ELF.
P.S.
With the fix HSAIL path also doesnt require compilation options existence in input binary anymore. Recompilation will be done silently in such case.
[Testing]
Pre checkin, MCL
Reviewed by Evgeniy Mankov, Nikolay Haustov, German Andryeyev
http://ocltc.amd.com/reviews/r/9560/
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/platform/program.cpp#77 edit
[ROCm/clr commit: 91bbd98a0b]
SWDEV-2 - Change OpenCL version number from 2009 to 2010.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1756 edit
[ROCm/clr commit: 84ed48b665]
SWDEV-79308 - Resubmit of CL1228064 with restriction of mininum scratch buffer size of 64K if a scratch buffer is needed.
Reduce the total scratch buffer size by a factor of 4, which in effect reducing the max. scratch waves from 32 to 8, to avoid the required total scratch buffer size exceeds the available local memory.
Made sure the scratch buffer size is aligned with 64K boundary
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuresource.cpp#235 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#156 edit
[ROCm/clr commit: db94c3fb66]
SWDEV-2 - Change OpenCL version number from 2008 to 2009.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1755 edit
[ROCm/clr commit: 44e689cfec]
SWDEV-2 - Change OpenCL version number from 2007 to 2008.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1754 edit
[ROCm/clr commit: cdffb6c9aa]
SWDEV-2 - Change OpenCL version number from 2006 to 2007.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1753 edit
[ROCm/clr commit: 269e7c74c5]
SWDEV-77172 - Choose isa handle on CZ based on whether SVM is supported or not as SVM may need additional SC Options to be passed as default.
ReviewBoardURL = http://ocltc.amd.com/reviews/r/9531/diff/
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#220 edit
[ROCm/clr commit: 3345a97263]
SWDEV-79308 - Resubmit of CL1226881 with the fix of the SC sanity check issue. Reduce the total scratch buffer size by a factor of 4, which in effect reducing the max. scratch waves from 32 to 8, to avoid the required total scratch buffer
size exceeds the available local memory.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuresource.cpp#233 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#154 edit
[ROCm/clr commit: 685d1164ee]
SWDEV-2 - Change OpenCL version number from 2005 to 2006.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1752 edit
[ROCm/clr commit: a56e584fed]
SWDEV-2 - Change OpenCL version number from 2004 to 2005.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1751 edit
[ROCm/clr commit: cfe171ecaa]
SWDEV-77172 - Disable ThreadTrace on SVM as its causing hang until a solution can be found.
ReviewBoardURL = http://ocltc.amd.com/reviews/r/9502/diff/
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#341 edit
[ROCm/clr commit: ec51f85c8e]
SWDEV-2 - Change OpenCL version number from 2003 to 2004.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1750 edit
[ROCm/clr commit: d9e28537b3]
SWDEV-79308 - Reduce the total scratch buffer size by a factor of 4, which in effect reducing the max. scratch waves from 32 to 8, to avoid the required total scratch buffer
size exceeds the available local memory.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#152 edit
[ROCm/clr commit: a319c0e35c]
SWDEV-2 - Change OpenCL version number from 2002 to 2003.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1749 edit
[ROCm/clr commit: 85f5db0446]
SWDEV-2 - Change OpenCL version number from 2001 to 2002.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1748 edit
[ROCm/clr commit: 8108ce0727]
SWDEV-2 - Change OpenCL version number from 2000 to 2001.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1747 edit
[ROCm/clr commit: d74f5269e6]
SWDEV-2 - Change OpenCL version number from 1999 to 2000.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1746 edit
[ROCm/clr commit: c6ee75d740]
SWDEV-84309 - Using agpMemAvailableCacheableBytes instead of agpMemAvailableBytes when calculating free memory for viPlus_ apu.
When memory allocation is in system memory, only agpMemAvailableCacheableBytes is changed
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#539 edit
[ROCm/clr commit: bc822d60d1]
SWDEV-2 - Change OpenCL version number from 1998 to 1999.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1745 edit
[ROCm/clr commit: e84d9750d1]
SWDEV-80364 - [Project Brahma] Disable OCL2.0
Disable OCL2.0 on Brahma because base driver doesn't have enough resource to support it.
Note: the implementation for OCL2.0 on Brahma in OCL runtime has been done.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#251 edit
[ROCm/clr commit: 8a320baf8c]
SWDEV-2 - Change OpenCL version number from 1997 to 1998.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1744 edit
[ROCm/clr commit: a679cea1c3]
SWDEV-2 - Change OpenCL version number from 1996 to 1997.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1743 edit
[ROCm/clr commit: 0cf937dfc1]
SWDEV-2 - Change OpenCL version number from 1995 to 1996.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1742 edit
[ROCm/clr commit: 6245297804]
SWDEV-78467 - Adding 'CL_FILE_SIZE_AMD' queriable property for file objects.
While validating the LF extension we noticed a common use case in which the programmer has to query the size of the file being processed.
This enhancement will save the programming overhead of opening and closing files using some other API just in order to query their size.
This feature is being integrated from LF dev branch 15.30.1023.
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_lqdflash_amd.cpp#12 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.0/CL/cl_ext.h#23 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/memory.hpp#95 integrate
[ROCm/clr commit: ab17489071]
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]