SWDEV-79445 - OCL generic changes and code clean-up
- Allow ROCM build within the same workspace as PAL. Please note that ROCM defualt path in this case will be HSAIL.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#105 edit
[ROCm/clr commit: 70e36f8299]
SWDEV-132899 - [OCL][GFX10] correctly set the wavefrontWidth_ for gfx10.
PAL reprots 64 for wavefrontSize so set it to 32 if the below conditions are met:
1- if we are in HSAIL path and GPU_FORCE_WAVE_SIZE_32 is set
2- or if we are in LC path andAsic is Navi10Plus
ReviewRequestURL = http://ocltc.amd.com/reviews/r/16329/
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#120 edit
[ROCm/clr commit: 3b75ae4ff0]
SWDEV-2 - Change OpenCL version number from 2794 to 2795.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2542 edit
[ROCm/clr commit: 84226e036d]
SWDEV-172784 - No Video playback while 10 bit pixel format is enable
- Correct the channel's order for RGB10
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldefs.hpp#45 edit
[ROCm/clr commit: f874108c45]
SWDEV-79445 - COMGR update
- Use full names for dll/lib load, since not all paths in loadLibrary() can recognize short names.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/comgrctx.cpp#2 edit
[ROCm/clr commit: 4220039a82]
+ Signs of the converted file are extended
+ Total converted lines and total elapsed time are fixed
+ Zero rates are excluded from statistics
[ROCm/clr commit: 1e30cd3ea7]
SWDEV-2 - Change OpenCL version number from 2793 to 2794.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2541 edit
[ROCm/clr commit: e56c8c6a8e]
SWDEV-171895 - No Video playback while 10 bit pixel format is enable
- Add GL_RGB10_EXT recognition. The format isn't officially supported in the Khronos OCL specification for GL interop. Thus GL_RGB10_EXT doesn't have any test coverage.
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_gl.cpp#61 edit
[ROCm/clr commit: 1739c7c88e]
+ Just do load_config for lit.site.cfg earlier in lit.cfg to get initialized cuda_version
+ Remove lit.cfg.in for CMake variables substitution
+ Return back lit.cfg
+ Exclude CUDA 9.0 tests if CUDA < 9.0
+ Report CUDA version before running tests
[ROCm/clr commit: a5c66018b6]
SWDEV-2 - Change OpenCL version number from 2792 to 2793.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2540 edit
[ROCm/clr commit: d5ff55ca7d]
+ Add lit.cfg.in for CMake variables substitution to now generated lit.cfg
+ Exclude lit.cfg
+ Exclude CUDA 9.0 tests if CUDA < 9.0
+ Report CUDA version before running tests
[ROCm/clr commit: 2b01f1eb6f]
SWDEV-2 - Change OpenCL version number from 2791 to 2792.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2539 edit
[ROCm/clr commit: ad64c0bf61]
SWDEV-162389 - Prepare the runtime code for enabling COMGR by default in the non-LC workspace
- Make sure OCL runtime can dynamically switch between HSAIL and LC paths
- For now use the both WITH_LIGHTNING_COMPILER and USE_COMGR_LIBRARY defines to identify LC specific code. The clean-up will come later
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/build/Makefile.api#179 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#238 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#327 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.cpp#14 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.hpp#10 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#19 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.hpp#12 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuresource.cpp#249 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#118 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#74 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#85 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#63 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/program.cpp#101 edit
[ROCm/clr commit: e643f0bc00]
SWDEV-2 - Change OpenCL version number from 2790 to 2791.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2538 edit
[ROCm/clr commit: ca58d7a9bb]
SWDEV-162389 - Prepare the runtime code for enabling COMGR by default in the non-LC workspace
- Make sure OCL runtime can dynamically switch between HSAIL and LC paths
- For now use the both WITH_LIGHTNING_COMPILER and USE_COMGR_LIBRARY defines to identify LC specific code. The clean-up will come later
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#236 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#325 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.cpp#12 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.hpp#8 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#17 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.hpp#10 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuresource.cpp#247 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#116 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#72 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#83 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#61 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/program.cpp#99 edit
[ROCm/clr commit: 03d5d4b485]
SWDEV-2 - Change OpenCL version number from 2789 to 2790.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2537 edit
[ROCm/clr commit: 855c65b06b]
+ Option '-roc' is added to translate to ROCm instead of HIP
+ Update hipification mechanism accordingly
+ Populate all translation maps with additional field for ROCm identifiers
+ There are 4 degrees of CUDA support now: full support, only by HIP, only by ROCm, unsupported
[ROCm/clr commit: 747eb2c11c]
SWDEV-2 - Change OpenCL version number from 2788 to 2789.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2536 edit
[ROCm/clr commit: 871332903f]
SWDEV-2 - Change OpenCL version number from 2787 to 2788.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2535 edit
[ROCm/clr commit: c02cbf4723]
SWDEV-86035 - Fix OCL runtime crash after recent PAL promotion
- PAL added a new asic inside the old enum and broke the logic for the asic detection with nulldevices. Add a new entry into Gfx9PlusSubDeviceInfo
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldefs.hpp#44 edit
[ROCm/clr commit: 6aff36f09a]
SWDEV-2 - Change OpenCL version number from 2786 to 2787.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2534 edit
[ROCm/clr commit: e420c8365e]
SWDEV-165045 - Linux-Pro System Hard-Hang with Call Trace and VM Faults are observed while running ABAQUS-2018-OpenCL Sample on VEGA GPU
"-g" option caused shader compiler generated isa code which caused the VM fault. The root cause is still unknown. "-g" is not a feature for end user. So remove it.
Remove -g options from application. The affected API includes build, link and compile CL C kernel code.
Update ocltst compiler test to remove one test which uses "-g"
AMD_OCL_BUILD_OPTIONS_APPEND can be used to force "-g" option
Test:
Run the Abaqus as specfied in the JIRA twice. No VM fault.
In a simple OpenCL test application, driver can handle build option "-g -cl-mad-enable -g -D DDBUILD -D ok-g -g" correctly.
Teamcity test.
http://ocltc.amd.com:8111/viewModification.html?modId=112334&personal=true&buildTypeId=&tab=vcsModificationBuilds&show_all_builds=true
No new failure.
ReviewBoard: http://ocltc.amd.com/reviews/r/16255/
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/platform/program.cpp#98 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/compiler/OCLSeparateCompile.cpp#17 edit
[ROCm/clr commit: 463b3cd876]
SWDEV-79445 - OCL generic changes and code clean-up
- Modify CMakeLists.txt to switch to different library interface to match the COMgr requirement
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/CMakeLists.txt#16 edit
[ROCm/clr commit: 5b7a2bc281]
+ cuSPARSE is supported up to CUDA 10.0
+ cuSPARSE_08 test (CUDA 10.0)
+ update CUSPARSE_API_supported_by_HIP.md
+ lit: add a rule for CUDA 10.0 tests excluding
[ROCm/clr commit: 424e4c8229]
SWDEV-2 - Change OpenCL version number from 2785 to 2786.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2533 edit
[ROCm/clr commit: cb8f46186c]
SWDEV-2 - Change OpenCL version number from 2784 to 2785.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2532 edit
[ROCm/clr commit: 7f73027a06]