SWDEV-79445 - OCL generic changes and code clean-up
- Persistent memory failure could be propagated to the app without the second attempt after resource cache release. Try to allocate memory again after resource cache release.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#65 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.hpp#23 edit
[ROCm/clr commit: 402f99f3e6]
SWDEV-2 - Change OpenCL version number from 2640 to 2641.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2388 edit
[ROCm/clr commit: ddecac46a9]
SWDEV-151646 - [Win7_64][VEGA 10] Hard hang/blank screen observed while executing PC MARK8 (Video group chart)
1. Revert to using max number of command buffers for device queue.
ReviewBoardURL = http://ocltc.amd.com/reviews/r/14714/diff/
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#95 edit
[ROCm/clr commit: fa3460a862]
SWDEV-151739 - [CQE OCL][DTB][Perf][QR][DTB-BLOCKER][VEGA10] Upto 18% performance drop observed while running Video Composition test sub test of Compubench due to faulty CL#1544622
- Implement customized TS tracking for managed buffers. The common TS tracking mechanism saves the event of the last command, assuming SDMA and compute operations occur in order, but for managed buffers it's not the case. Also managed buffer doesn't have to validate TS for the parent resource.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palblit.cpp#21 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palconstbuf.cpp#11 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palconstbuf.hpp#9 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palmemory.hpp#6 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.hpp#22 edit
[ROCm/clr commit: 79ba5904dc]
SWDEV-2 - Change OpenCL version number from 2639 to 2640.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2387 edit
[ROCm/clr commit: d6618edf9f]
SWDEV-151852 - [CQE OCL][DTB-BLOCKER][VEGA10][WIN][LNX][QR] Observed crash while running Multiple device context test due to FAULTY CL#1544622
- Add a check for nullptr in case if virtual device object was destroyed before memory allocation
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palconstbuf.cpp#10 edit
[ROCm/clr commit: 3416ad385d]
SWDEV-2 - Change OpenCL version number from 2638 to 2639.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2386 edit
[ROCm/clr commit: b785abe728]
SWDEV-79445 - OCL generic changes and code clean-up
- Report an error if persistent memory allocation failed. The original logic was switching to local memory, but SSG can't work with it. The logic should work properly under Linux, but in Windows OS never fails persistent allocation.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#86 edit
[ROCm/clr commit: 1c91644f1b]
SWDEV-145570 - [HIP] Get hipCtx_simple to pass
Implemented hipCtxGetDevice
hipCtxCreate must push the created context onto the context stack
hipCtxDestroy must check if the top of the stack is the context being destroy
and not just pop the top of the stack w/o checking.
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_context.cpp#8 edit
[ROCm/clr commit: 894f01c206]
This change fixes the following bugs that were discovered while debuggnig TF unit test failures (cwise_ops_test)
1. __hisinf and __hisnan routines
Both had incorrect implementations.
2. abs
A "long long" (64bit int) version was missing, resulting in the 32bit version being used for 64bit ints (which resulted in incorrect results, when the value passed in was outside the 32bit int range)
3. lgamma
We seemed to have a custom version for the 'double' datatype (which was giving incorrect results). Replaced it with a call to the 'double' version of the underlying 'hc::precision_math::lgamma'
[ROCm/clr commit: 65a90c55e7]
SWDEV-2 - Change OpenCL version number from 2637 to 2638.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2385 edit
[ROCm/clr commit: 03b72c3007]
SWDEV-79445 - OCL generic changes and code clean-up
- Switch scheduler parameters to the managed buffer allocation
- Use 8 bytes for the mem clear pattern in the program loader
- Use local memory for the hsa queue data
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#63 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#93 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.hpp#49 edit
[ROCm/clr commit: 30088df072]
SWDEV-2 - Change OpenCL version number from 2636 to 2637.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2384 edit
[ROCm/clr commit: 5fd508c342]
SWDEV-2 - Change OpenCL version number from 2635 to 2636.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2383 edit
[ROCm/clr commit: 97bb6b1058]
SWDEV-2 - Change OpenCL version number from 2634 to 2635.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2382 edit
[ROCm/clr commit: b5ee2e3b84]
SWDEV-2 - Change OpenCL version number from 2633 to 2634.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2381 edit
[ROCm/clr commit: 47493390a2]
SWDEV-2 - Change OpenCL version number from 2632 to 2633.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2380 edit
[ROCm/clr commit: c01db678a6]
SWDEV-2 - Change OpenCL version number from 2631 to 2632.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2379 edit
[ROCm/clr commit: f510dde1ab]
SWDEV-145570 - [HIP] - Add missing HIP APIs and fill sym table references. The HIP tests can now build if we do a symlink to libhip_hcc.so that we build with VDI in the install folder in github HIP.
ReviewBoardURL = http://ocltc.amd.com/reviews/r/14619/diff/
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_device.cpp#10 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.def.in#3 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.map.in#3 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_internal.hpp#7 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_platform.cpp#5 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_profile.cpp#1 add
... //depot/stg/opencl/drivers/opencl/api/hip/hip_texture.cpp#3 edit
[ROCm/clr commit: aec786cfdb]
SWDEV-150303 - [CQE OCL][Vega10][PAL][QR][DTB-Blocker] Maya 2018 fails to load OpenCL device on Vega10 Lnx-Pro; Faulty CL#1528486
- Temporarly disable SVM under Linux, until a proper fix for VA reservation will be developed
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#83 edit
[ROCm/clr commit: 1e6de03652]
This was introduced in recent xnack changes naming changes which affected our offload bundler. This patch will fix issues in HIP samples, ROCR tests, and others.
[ROCm/clr commit: 199cff2365]
SWDEV-2 - Change OpenCL version number from 2630 to 2631.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2378 edit
[ROCm/clr commit: a1956f0a8e]
SWDEV-86035 - Keep invisible memory for scratch buffer
- Currently scratch memory isn't used for compute, but PAL will assert on Local type
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#91 edit
[ROCm/clr commit: f933209ee4]