SWDEV-2 - Change OpenCL version number from 2818 to 2819.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2566 edit
[ROCm/clr commit: dfbf0c56b3]
SWDEV-79445 - OCL generic changes and code clean-up
- Add 101010 GL interop formats mapping into CL_RGBA. The change will make sure the channel order consistency between OGL and OCL
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_gl.cpp#62 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldefs.hpp#47 edit
[ROCm/clr commit: 0b466ae6ff]
SWDEV-79445 - OCL generic changes and code clean-up
- Add 101010 GL interop formats mapping into CL_RGBA. The change will make sure the channel order consistency between OGL and OCL
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_gl.cpp#62 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldefs.hpp#47 edit
[ROCm/clr commit: 02c5d38cb9]
SWDEV-2 - Change OpenCL version number from 2817 to 2818.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2565 edit
[ROCm/clr commit: cdbec540c4]
SWDEV-132899 - [OCL][GFX10] 70 subtests of Conformance Mipmaps (clCopyImage) test failed for image type 1Darray
This is the follow up for CL#1517501
copyImage1DA blit kernel uses image2d_array_t type for src/dst images. On gx10, num of arrays/layers is expected in Z component for a 2Darray image so a swap is required for 1Darray images when we use 2Darray image for the image copy. The copyImage1DA has code for swapping z and y components as follows:
if (srcOrigin.w != 0) {
coordsSrc.z = coordsSrc.y;
coordsSrc.y = 0;
}
if (dstOrigin.w != 0) {
coordsDst.z = coordsDst.y;
coordsDst.y = 0;
}
So to use this path force the w component to 1 for src and dst images on gfx10 if image type is 1Darray.
ReviewRequestURL = http://ocltc.amd.com/reviews/r/16538/diff/
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palblit.cpp#28 edit
[ROCm/clr commit: bd3af873ec]
SWDEV-174282 - [AMF] WIN10 Converter fails when scale YUY2 image with certain output width
- When OCL creates an image view use the pitch value from the original surface
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#185 edit
[ROCm/clr commit: aab00a26bc]
SWDEV-172202 - Workaround the scheduler for systems don't support PCIe 3 atomics properly.
The idea is the scheduler uses a device side global as write_index, and only write the write_index back to the hsa queue when the last thread of the scheduler leaves.
This change along with the library side change have been tested on systems with or without proper PCIe 3 atomics support.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocblit.cpp#29 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocsched.hpp#2 edit
[ROCm/clr commit: aa3989dcd0]
SWDEV-162389 - OpenCL Support for COMgr
- added the machineTargetLC_ values, which was introduced in CL1702548, for Carrizo and Hawaii
- requested by Joseph Greathouse for public users (https://github.com/RadeonOpenCompute/ROCm/issues/668)
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdefs.hpp#22 edit
[ROCm/clr commit: dc3e9a916d]
SWDEV-2 - Change OpenCL version number from 2816 to 2817.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2564 edit
[ROCm/clr commit: 30a3da25f9]
SWDEV-172202 - Back out changelist 1730757.
Failure in OCLDynamic tests in various TC Sanity tests.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#111 edit
[ROCm/clr commit: 1210448dd2]
+ Always check for existence any file or dir, first of all, because real_path and make_absolute differ: real_path additionally performs access on file/dir.
+ Relative path routines in source files implemented similarly to dirs.
+ Error handling improvements.
[ROCm/clr commit: 7bbf284636]
SWDEV-2 - Change OpenCL version number from 2815 to 2816.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2563 edit
[ROCm/clr commit: a7d345bacc]
SWDEV-2 - Change OpenCL version number from 2814 to 2815.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2562 edit
[ROCm/clr commit: 6b10f9322c]
+ '-D' might be set as hipify-clang option (before separator '--' or without specifying separator at all);
+ '-D' as a clang option might be specified as well (after options separator '--');
+ All defines specified as hipify-clang defines (before options separator '--') will be set after clang's ones and will redefine the same clang's ones.
[ROCm/clr commit: 4b8fdda651]
+ '-I' might be set as hipify-clang option (before separator '--' or without specifying separator at all);
+ '-I' as a clang option might be specified as well (after options separator '--').
[ROCm/clr commit: d5281a771a]
SWDEV-2 - Change OpenCL version number from 2813 to 2814.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2561 edit
[ROCm/clr commit: ae5ae500b0]
Introduce the Dot functions which are available in the device library. Forward those prototypes, and introduce HIP API to expose the usage of the dot functions.
[ROCm/clr commit: 84a028b9e1]
SWDEV-2 - Change OpenCL version number from 2812 to 2813.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2560 edit
[ROCm/clr commit: a8fd09d6d9]
+ Append '--' to the end of hipify-clang options in case of its absence.
[Reason]
+ Avoid the necessity for the user in JSON compilation database specification.
Otherwise:
Error while trying to load a compilation database:
Could not auto-detect compilation database for file "test.cu"
Though the hipification will be performed correctly without JSON database.
[ROCm/clr commit: 63b7fc5714]
Repeats clang's '--cuda-path' option.
[Reason]
In case of absence of any other clang's options setting '-cuda-path' allows not to specify separator '--' before clang's '--cuda-path'.
+ Tests and scripts are updated accordingly.
[ROCm/clr commit: c4268855e3]
SWDEV-2 - Change OpenCL version number from 2811 to 2812.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2559 edit
[ROCm/clr commit: ca14911693]
A hash calculated via FNV-1a algorithm is introduced in ihipModule_t, the
internal of hipModule_t. The hash is used by HIP module APIs such as
- read_agent_global_from_module
to determine whether the agent-scope globals for a module have been iterated.
This commit fixes one issue that applications which load / unload modules
frequently would occasionally fail. After deep investigation of the issue it
turns out the old implementation in read_agent_global_from_module uses
hipModule_t as the key, which is not robust enough, as hipModule_t instances
are allocated dynamically so there are cases that one memory address may be
used by multiple hipModule_t instances. The real solution is to introduce a
uniquely identifiable hash for the code object associated with the HIP module.
And that's the rationale behind this commit.
[ROCm/clr commit: 6e68d44220]