SWDEV-2 - Change OpenCL version number from 3047 to 3048.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2795 edit
[ROCm/clr commit: 1d9815dd75]
SWDEV-204782 - introduce hostcall
Hostcall is a service that allows a kernel to submit requests to the
host using shared buffers, and block until a response is received. This
will eventually replace the shared buffer currently used for printf, and
repurposes the same hidden kernel argument.
When the runtime launches a kernel that requires the hostcall service it
performs the following actions:
- Launch a hostcall listener thread if it is not already running.
- Locate the hostcall buffer for the corresponding hardware queue, or
create a new one.
- Register the new hostcall buffer with the listener thread.
- Set the hostcall buffer pointer as an implicit argument to the kernel.
Affected files ...
... //depot/stg/opencl/drivers/opencl/make/hip.git/tests/Makefile#21 edit
... //depot/stg/opencl/drivers/opencl/make/hip.git/tests/build/Makefile.hip_tests#31 edit
... //depot/stg/opencl/drivers/opencl/make/hip.git/tests/scripts/hip_hostcall_tests.txt#1 add
... //depot/stg/opencl/drivers/opencl/make/hip.git/tests/scripts/run_all_tests.sh#22 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.cpp#30 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.hpp#19 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#143 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.hpp#45 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rochostcall.cpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rochostcall.hpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#92 edit
[ROCm/clr commit: 416f273e94]
SWDEV-2 - Change OpenCL version number from 3046 to 3047.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2794 edit
[ROCm/clr commit: 9d20a77b81]
SWDEV-2 - Change OpenCL version number from 3045 to 3046.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2793 edit
[ROCm/clr commit: e2cdf665e4]
SWDEV-213526 - pytorch tests fail with hipErrorOutofMemory
There's a bug in ROCr when loading a lot of kernels and not syncing
So for now, if an allocation fails, sync devices and retry before
returning hipErrorOutOfMemory error.
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#86 edit
[ROCm/clr commit: e7745c6d1e]
SWDEV-79445 - OCL generic changes and code clean-up
- Don't sync on the scratch buffer if the executed kernel is unchanged, since the number of scratch regs remains the same
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#158 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.hpp#65 edit
[ROCm/clr commit: dd5459c7a1]
SWDEV-2 - Change OpenCL version number from 3044 to 3045.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2792 edit
[ROCm/clr commit: cabcfb5f37]
SWDEV-212749:
o Recent changes to “add support for extended launch” require hip_runtime.h to be include in hip_ext.h
o Order in which external applications include hip_hcc.h/hip_runtime.h causes compilation failure
[ROCm/clr commit: e5fc5aa41c]
SWDEV-2 - Change OpenCL version number from 3043 to 3044.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2791 edit
[ROCm/clr commit: e4d5473068]
Handled the HCC version check appropriately as few of the directed tests (SWDEV-212161) were failing when hcc was bumped to 3.0.
[ROCm/clr commit: d4dde7a27d]
This will fix issue #1621. It also adds tests for is_callable with c++11, c++14, and c++17.
The fallback implementation was completely broken so I rewrote it so it pass the tests as well. This should be used instead of PR #1631.
[ROCm/clr commit: 57b1b03261]
SWDEV-2 - Change OpenCL version number from 3042 to 3043.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2790 edit
[ROCm/clr commit: cd6595375b]
SWDEV-2 - Change OpenCL version number from 3041 to 3042.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2789 edit
[ROCm/clr commit: 410d09a835]
SWDEV-2 - Change OpenCL version number from 3040 to 3041.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2788 edit
[ROCm/clr commit: db3812e2ad]
* Updated hipEnvVarDriver to work with Windows
* Cleaned up a bit of code
* Fixed a part where putenv was used for both win and linux
* Defines moved to test_common.h and cleaned up code
* Cleaned up some macro defines and used const char instead
* Got rid of some excess commenting
* directory paths are unconditional
* Cleaned some duplicate code, and variables are now declared and defined together
[ROCm/clr commit: 7bbd420068]
SWDEV-212440 - [HIP] Memory access fault observed on Pytorch while running performance tests with Microbenchmarking script
We need to loop through all the default stream to sync them in case
the app call hipFree on a different current stream and another current stream
is using the memory.
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#85 edit
[ROCm/clr commit: 1ee794c7f3]
SWDEV-2 - Change OpenCL version number from 3039 to 3040.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2787 edit
[ROCm/clr commit: 86d28f8e69]
SWDEV-2 - Change OpenCL version number from 3038 to 3039.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2786 edit
[ROCm/clr commit: 1be3ca9196]