SWDEV-2 - Change OpenCL version number from 2868 to 2869.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2616 edit
[ROCm/clr commit: 3a050479de]
__hipRegisterFunction is called during by .init functions during program initialization.
It calls hipModuleGetFunction to locate kernel symbol in code objects. hipModuleGetFunction
assumes current device when locating kernel symbols. This works for HCC but not for hip-clang,
since hip-clang needs to locate kernel symbols for different devices without switching
between devices.
This patch introduces a new hsa agent parameter to ihipModuleGetFunction, which allows
__hipRegisterFunction to choose the correct hsa agent when locating kernel symbols. By
default it uses this_agent(), therefore this patch has no impact on HCC.
[ROCm/clr commit: 8f5c812a68]
SWDEV-2 - Change OpenCL version number from 2867 to 2868.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2615 edit
[ROCm/clr commit: 41c4d730bf]
SWDEV-2 - Change OpenCL version number from 2866 to 2867.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2614 edit
[ROCm/clr commit: 0981972e19]
SWDEV-2 - Change OpenCL version number from 2865 to 2866.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2613 edit
[ROCm/clr commit: 4ef1c3e2df]
* Make hipModuleGetGlobal be in HIP runtime so it can be discovered at runtime
In HIP PR #929, quite a few HIP public APIs were made as inline functions with
hidden visibility. It was necessary to support applications with shared
libraries with GPU kernels launched via hipLaunchKernelGGL(), after HIP runtime
is initialized.
In empirical tests, the implementation has been proved to be a bit too
excessive, especially for hipModuleGetGlobal(). The function is used by another
type of client applications which relies on the existence of this function
within HIP runtime so global symbols from HSA code objects loaded dynamically
at runtime can be retrieved programmtically.
This commit moves hipModuleGetGlobal() back to src/hip_module.cpp, and makes it
visible and not inline, to fulfill requirements for applications
aforementioned. It does not change the behavior of applications depending on
hipLaunchKernelGGL().
* Add HIP_INIT_API into the implementation of hipModuleGetGlobal
Address review comments.
* Fix failing HIP unit tests
[ROCm/clr commit: 04915cea2f]
SWDEV-2 - Change OpenCL version number from 2864 to 2865.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2612 edit
[ROCm/clr commit: 05db9f0332]
Disambiguate calling many varibles "agent".
More detail in exception message.
Create and discard map placeholders; no need to call std::vector::clear() on map value.
[ROCm/clr commit: f5e4fff6cc]
SWDEV-145570 - Workaround for mismatch of device name and bundle id for gfx906.
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_platform.cpp#25 edit
[ROCm/clr commit: dbb7c04ac1]
SWDEV-2 - Change OpenCL version number from 2863 to 2864.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2611 edit
[ROCm/clr commit: 5b12ab80ca]
SWDEV-2 - Change OpenCL version number from 2862 to 2863.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2610 edit
[ROCm/clr commit: 89517d2c68]
SWDEV-168145 - Add ECC target feature to OpenCL runtime
- hard coded SRAM ECC target feature for now since ROCr disable sram-ecc reporting via ISA until HCC is fixed
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#123 edit
[ROCm/clr commit: 324486b2ec]
SWDEV-2 - Change OpenCL version number from 2861 to 2862.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2609 edit
[ROCm/clr commit: a178f9a339]
SWDEV-2 - Change OpenCL version number from 2860 to 2861.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2608 edit
[ROCm/clr commit: b1bc5bfed6]
SWDEV-2 - Change OpenCL version number from 2859 to 2860.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2607 edit
[ROCm/clr commit: c8fc540b79]
SWDEV-182808 - Prevent ICD from loading outdated amdocl binary
1. Keep track of library name in KHRicdVendorRec
2. Check if library with the same name has already been loaded before adding it in ICD list
http://ocltc.amd.com/reviews/r/16989/
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/icd.c#12 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/icd.h#11 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/icd_linux.c#11 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/icd_windows.c#11 edit
[ROCm/clr commit: be5b5d86c3]
SWDEV-2 - Change OpenCL version number from 2858 to 2859.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2606 edit
[ROCm/clr commit: f2e285b0d0]
For code objects with global symbols of length 0, ROCR runtime would
ignore them even though they exist in the symbol table. Therefore the
result from read_agent_globals() can't be trusted entirely.
As a workaround to tame applications which depend on the existence of
global symbols with length 0, always return hipSuccess here.
This behavior shall be reverted once ROCR runtime has been fixed to
address SWDEV-173477
[ROCm/clr commit: cf7ad0f184]
SWDEV-2 - Change OpenCL version number from 2857 to 2858.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2605 edit
[ROCm/clr commit: b74f074694]
SWDEV-165960 - Add check for duplicate vendors of different libraries using vendor suffix after vendor info is loaded from library
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/icd.c#11 edit
[ROCm/clr commit: 21ecd9c93a]
SWDEV-145570 - Fix build failure due to type mismatch of amd::Event::CallBackFunction
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_stream.cpp#16 edit
[ROCm/clr commit: 7d3439719d]
SWDEV-2 - Change OpenCL version number from 2856 to 2857.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2604 edit
[ROCm/clr commit: 9ad9c6d933]