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
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-2 - Change OpenCL version number from 2009 to 2010.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1756 edit
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-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
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 2008 to 2009.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1755 edit
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 2007 to 2008.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1754 edit
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-2 - Change OpenCL version number from 2006 to 2007.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1753 edit
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-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
Stop using NUM_OF_SUPPORTED_GPUS. For now the definitions itself cannot
be removed as ioctl code is in upstream Kernel.
Change-Id: If846625a8ad5062d5483e762850c793d3c00b9d0
Stop using NUM_OF_SUPPORTED_GPUS. For now the definitions itself cannot
be removed as ioctl code is in upstream Kernel.
Change-Id: If846625a8ad5062d5483e762850c793d3c00b9d0
[ROCm/ROCR-Runtime commit: ce83dc623f]
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-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
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 2005 to 2006.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1752 edit
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-2 - Change OpenCL version number from 2004 to 2005.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1751 edit
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-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
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-2 - Change OpenCL version number from 2003 to 2004.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1750 edit
SWDEV-79308 - Back out changelist 1226881
Causes failures in execution model, math and pipes
http://ocltc.amd.com:8111/viewLog.html?buildId=14142599&tab=buildResultsDiv&buildTypeId=TestsOpenCLScSanity_BonaireConformanceWin764bit
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#153 edit
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-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
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 2002 to 2003.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1749 edit
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 2001 to 2002.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1748 edit
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 2000 to 2001.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1747 edit
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-2 - Change OpenCL version number from 1999 to 2000.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1746 edit
Fix hsaKmtRegisterMemory to be a no-op for now and move the multi-GPU
implementation to hsaKmtRegisterMemoryToNodes. Make GPU memory mappings
of host memory visible to all GPUs by default. Device memory is still
visible to the allocating GPU only by default (but can be overridden
with hsaKmtRegisterMemoryToNodes for experimenting with P2P).
Change-Id: I73408afbe3b10c8dad2ab3a780f58413249692e6
Fix hsaKmtRegisterMemory to be a no-op for now and move the multi-GPU
implementation to hsaKmtRegisterMemoryToNodes. Make GPU memory mappings
of host memory visible to all GPUs by default. Device memory is still
visible to the allocating GPU only by default (but can be overridden
with hsaKmtRegisterMemoryToNodes for experimenting with P2P).
Change-Id: I73408afbe3b10c8dad2ab3a780f58413249692e6
[ROCm/ROCR-Runtime commit: 063ad3ad9e]
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]