SWDEV-150166 - [OCL][LC][Ellesmere][Windows] oclcompiler.OCLStructOperations[30] causing crash
1. Set the default amount of command buffer allocated per queue to 4 for pre-gfx9 and 12 for gfx9+ pal devices.
2. Limit the amount of command buffers allocated for device queue to 2.
ReviewBoardURL = http://ocltc.amd.com/reviews/r/14594/diff/
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#50 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#89 edit
SWDEV-150453 - [CQE OCL][DTB][Perf][QR][Vega][DTB-BLOCKER] Performance drop observed on multiple subtests while running Nuke
1. Clean up suballocation chunk creation logic.
2. Try to cache a resource if it wasn't a suballocation.
ReviewBoardURL = http://ocltc.amd.com/reviews/r/14591/diff/
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#62 edit
SWDEV-2 - Change OpenCL version number from 2627 to 2628.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2375 edit
SWDEV-2 - Change OpenCL version number from 2626 to 2627.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2374 edit
SWDEV-79445 - OCL generic changes and code clean-up
- Reduce the managed buffer alignment to 128 bytes
- Add direct upload function to the constant buffer
- Add heap preference print into the active allocations
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palconstbuf.cpp#7 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palconstbuf.hpp#6 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#49 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#87 edit
SWDEV-2 - Change OpenCL version number from 2625 to 2626.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2373 edit
SWDEV-149330 - [CQE OCL][Vega10][PAL] ocltst - OCLFoldLibFunc a sub-test of oclcompiler module fails on Vega10 PAL/HSAIL path | Faulty PAL/HSAIL CL#1524674
- Reset offset to 0 for each Resource::create() call, since runtime could call create() more than once if the initial memtype failed.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#61 edit
SWDEV-149190 - [CQE OCL][DTB-BLOCKER][WIN][LNX][QR]observed soft hang while running oclruntime sub-test of ocltst due to faulty CL#1529531
- Better solution for CL#1537141. Use the offset in the bind for the thread trace object
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palthreadtrace.cpp#6 edit
SWDEV-149190 - [CQE OCL][DTB-BLOCKER][WIN][LNX][QR]observed soft hang while running oclruntime sub-test of ocltst due to faulty CL#1529531
- Pal::PerfExperiment can't works with extra offsets for allocations. Thus disable suballocation for the thread trace.
- Minor clean-ups: make sure the profiling end is called for threadtrace commands; call buf release on mem copy in the program loader; add comments to the scratch buffer alignment.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#80 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#60 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palthreadtrace.cpp#5 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#85 edit
SWDEV-2 - Change OpenCL version number from 2624 to 2625.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2372 edit
SWDEV-133818 - PAL support for Linux Pro: Coarse Grain SVM for OpenCL 2.0
Disable OpenCL 2.0 for pal devices on Linux mainline
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#48 edit
SWDEV-2 - Change OpenCL version number from 2623 to 2624.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2371 edit
SWDEV-148749 - VM freezes in Horizon View
- Fix a typo when memory references are removed from the destroyed queue. If null is sent to PAL, then PAL removes references from all available queues, but runtime logic needs only for the destroyed queue.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#83 edit
SWDEV-2 - Change OpenCL version number from 2622 to 2623.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2370 edit
SWDEV-79278 - [OCL][PAL] dont report gfx902/gfx903 into the offline device list twice.
Both Raven and Raven2 are exposed as gfx902/gfx903, so we ended up reporting each gfx902 and gfx903 twice for the offline devices list. To avoid this issue, check the list and if a device is already reported dont add it into the list.
http://ocltc.amd.com/reviews/r/14523/
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#78 edit
SWDEV-2 - Change OpenCL version number from 2621 to 2622.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2369 edit
SWDEV-2 - Change OpenCL version number from 2620 to 2621.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2368 edit
SWDEV-149178 - [CQE OCL][DTB-BLOCKER][RS4][WF][QR]observed failures while running samplers test due to faulty CL#1529531
- Image alignment requirement could be different from the original buffer chunk alignment and that could cause a failure on the final address alignment. Use fragment size alignment for the chunk and protect suballocations from possible alignment mismatch
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#58 edit
SWDEV-2 - Change OpenCL version number from 2619 to 2620.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2367 edit
SWDEV-147368 - Choose proper engine for markerWrite to SDI ExternalPhysical Memory according to last copy engine
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#80 edit
SWDEV-2 - Change OpenCL version number from 2618 to 2619.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2366 edit
SWDEV-143465 - Stop building static C++ kernels on CI+
Changed legacy HSAIL/AMDIL stack logic:
1. Stop supporting AMDIL on CI+ devices: "AMDIL doesn't support device ..." will be reported.
2. Stop handling OpenCL extension options in RT: if "-x spir" or "-x clc++" option is specified, it wouldn't force legacy AMDIL compiler anymore.
3. Start reporting error on "-legacy" option in HSAIL compiler. If we reach HSAIL compiler, then it means that there are conflicting options. Report them all, possible options are: -frontend=edg, -cl-std=CL2.0 (>= 2.0), -binary_is_spirv.
Already submitted changes in stack logic:
1. Start reporting error for SI devices on HSAIL path.
2. Start handling OpenCL extension options on HSAIL path: report error on "-x spir" or "-x clc++" options.
[testing] http://ocltc.amd.com:8111/viewModification.html?modId=99901&personal=true&tab=vcsModificationBuilds
[reviewed] by Stas and German: http://ocltc.amd.com/reviews/r/14270
Affected files ...
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/backends/common/v0_8/if_acl.cpp#11 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/v0_8/if_acl.cpp#99 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#586 edit
SWDEV-2 - Change OpenCL version number from 2617 to 2618.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2365 edit
SWDEV-79445 - OCL generic changes and code clean-up
- Add explicit type specialization for AQL copy types to avoid memcpy() calls in the most of cases
- Increase size of sysmem copy for constants buffers to account the internal arguments
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palconstbuf.cpp#5 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#46 edit
SWDEV-134107 - Add support for respecting target's xnack setting
- Port Konstantin's change of "Bring naming o par with the spec" in git (Change 139283)
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#85 edit
SWDEV-2 - Change OpenCL version number from 2616 to 2617.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2364 edit
SWDEV-79445 - OCL generic changes and code clean-up
- Prepare the changes to remove resource rename feature. Resource rename can substitute a low level memory object in the current resource with a different one in order to avoid GPU stalls on frequent CPU updates, like constant buffers or staging buffers. Renaming was necessary due to CAL and old HW limitations to manage suballocations and has some inefficiency with tiny updates and staging buffers.
- This change removes renames usage from the constant buffer management
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palconstbuf.cpp#3 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palconstbuf.hpp#4 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#45 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#78 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.hpp#43 edit
SWDEV-2 - Change OpenCL version number from 2615 to 2616.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2363 edit
SWDEV-2 - Change OpenCL version number from 2614 to 2615.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2362 edit
SWDEV-79445 - OCL generic changes and code clean-up
- Fix a regression in the AMF test and reenable the suballoc optimization. Rearrange the locks around cache field access only to avoid calling memory release under the cache lock.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#57 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#53 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.hpp#18 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#287 edit
SWDEV-2 - Change OpenCL version number from 2613 to 2614.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2361 edit
SWDEV-133818 - PAL support for Linux Pro: Coarse Grain SVM for OpenCL 2.0
1. This change enables OCL 2.0 on Linux for devices using PAL backend.
2. Set the alignment for Coarse Grain SVM allocations to be the gpu fragment size (2MB on Linux).
ReviewBoardURL = http://ocltc.amd.com/reviews/r/14437/diff/
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#52 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#46 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/memory.cpp#128 edit