SWDEV-213526 - [hip] OOM issue
Delay any access to device layers till HIP API is called by app.
This allows the app to fork the process first and then call HIP which is legal.
Doing hip calls then fork isn't legal nor supported by ROCm.
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_context.cpp#25 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_internal.hpp#49 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_platform.cpp#55 edit
[ROCm/clr commit: f5921646e4]
SWDEV-2 - Change OpenCL version number from 3059 to 3060.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2807 edit
[ROCm/clr commit: 4341129737]
SWDEV-2 - Change OpenCL version number from 3058 to 3059.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2806 edit
[ROCm/clr commit: afd60b06f0]
* fix linking of vector types when linking hipcc objects with gcc
* use __atribute__((vector_size)) with both clang and gcc
and reinstate nonaligned n=3 vector type
* use implicit conversion to value and ext_vector_type when available
* Alternate formulation for GCC compatibility
* Built-in arrays don't mix well with placement new
* Fix typo
* Add conversions to enum
* Fix Scalar_accessor assignment.
* Update hip_vector_types.h
* stir up the underlying_type hideous mess
This fixes the HIP build issue "error: only enumeration types have underlying types".
[ROCm/clr commit: 280a8ebadf]
SWDEV-2 - Change OpenCL version number from 3057 to 3058.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2805 edit
[ROCm/clr commit: 3c2ac9e6ff]
SWDEV-2 - Change OpenCL version number from 3056 to 3057.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2804 edit
[ROCm/clr commit: b12700b2ad]
SWDEV-2 - Change OpenCL version number from 3055 to 3056.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2803 edit
[ROCm/clr commit: 6f8ecabba6]
SWDEV-214490 - Update HIP RT for texture3D in HIP/PAL on Windows
-Update hipTexRefSetArray
http://ocltc.amd.com/reviews/r/18356/
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_texture.cpp#29 edit
[ROCm/clr commit: 755f35e7d8]
SWDEV-2 - Change OpenCL version number from 3054 to 3055.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2802 edit
[ROCm/clr commit: 1eae5508c5]
Reverting #1673, #1697 and #1707.
Support for hipMemcpyWithStream and memcpy optimizations, will be brought in again once issues seen with these are resolved independently.
[ROCm/clr commit: a369bd4418]
SWDEV-2 - Change OpenCL version number from 3053 to 3054.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2801 edit
[ROCm/clr commit: 44566b975b]
SWDEV-214490 - Update HIP RT for texture3D in HIP/PAL on Windows
-Update hipMemcpy3D function
http://ocltc.amd.com/reviews/r/18346/
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#90 edit
[ROCm/clr commit: 1cd1b3eae2]
SWDEV-145570 - Adding back the lazy kernel changes because the OOM issue is because of KFD/RocR.
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_platform.cpp#53 edit
[ROCm/clr commit: 94e4e87b88]
+ Both Driver API and RT API are supported and synced with each other
+ Update *.md docs and hipify-perl accordingly
+ Add new conversion type "virtual_memory", introduced in Dirver API
[ROCm/clr commit: 43441eb99c]
SWDEV-2 - Change OpenCL version number from 3052 to 3053.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2800 edit
[ROCm/clr commit: 7d544e807f]
[Background] it was found that if lazy linking used for a library that calls hipExtLaunchMultiKernelMultiDevice API then this API can get the wrong program_state object for looking up device kernels leading to a "No device code available" error in this API.
To fix this issue, the API was refactored to be inline and get and pass the correct program_state to an internal hip API to request a multi-device kernel launch.
[ROCm/clr commit: 8eaea4d114]
SWDEV-2 - Change OpenCL version number from 3051 to 3052.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2799 edit
[ROCm/clr commit: 0814a17a4e]
SWDEV-2 - Change OpenCL version number from 3050 to 3051.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2798 edit
[ROCm/clr commit: 2c697a17e2]
+ Update *.md docs and hipify-perl accordingly
[Reason]
Starting with CUDA 10.1 all error codes are merged between Driver and RT APIs
[ToDo]
Do the same merge in HIP API as there is no need in distinguishing return codes by API
[ROCm/clr commit: 636108aaa9]
SWDEV-214490 - Update HIP RT for texture3D in HIP/PAL on Windows
- Update function hipMemcpy3D for Texture Array
- Add hipArrayCubemap support in hipMalloc3DArray
http://ocltc.amd.com/reviews/r/18328/
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#88 edit
[ROCm/clr commit: 384f95a8be]