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
SWDEV-2 - Change OpenCL version number from 2640 to 2641.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2388 edit
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
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
SWDEV-2 - Change OpenCL version number from 2639 to 2640.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2387 edit
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
SWDEV-2 - Change OpenCL version number from 2638 to 2639.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2386 edit
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
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
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'
SWDEV-2 - Change OpenCL version number from 2637 to 2638.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2385 edit
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
SWDEV-79445 - OCL generic changes and code clean-up
- Make all device locks mutable to avoid extra mem allocation calls
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#85 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.hpp#27 edit
SWDEV-2 - Change OpenCL version number from 2636 to 2637.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2384 edit
SWDEV-2 - Change OpenCL version number from 2635 to 2636.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2383 edit
SWDEV-2 - Change OpenCL version number from 2634 to 2635.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2382 edit
SWDEV-2 - Change OpenCL version number from 2633 to 2634.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2381 edit
SWDEV-2 - Change OpenCL version number from 2632 to 2633.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2380 edit
SWDEV-2 - Change OpenCL version number from 2631 to 2632.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2379 edit
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
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