All checks should not occur in input file for FileCheck. The issue found on CHECK-NOT.
Change removes all lit checks in the hipified file based on regexp, and the resulted stdout is fed as stdin for FileCheck.
[ROCm/clr commit: 8fae5663d2]
SWDEV-2 - Change OpenCL version number from 2576 to 2577.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2324 edit
[ROCm/clr commit: 52ed335dc9]
SWDEV-143124 - [CQE OCL][DTB][ISV][QR][DTB-BLOCKER] Applications (Both 64/32-bit) are not running on Win 7 due to faulty CL#1503998
- Use GetProcAddress to check gdi32.dll for D3DKMTEnumAdapters2
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/icd_windows_dxgk.c#3 edit
[ROCm/clr commit: 25a8e9bca8]
SWDEV-2 - Change OpenCL version number from 2575 to 2576.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2323 edit
[ROCm/clr commit: 998af283f2]
SWDEV-143358 - [IV][Redstone3_64]Crashed observed while running CLinfo and Opencl samples are not starting on AI BAFFIN,AI ELLESMERE,VEGA,RAVEN,AI LEXA.
- Return false if KMTQAITYPE_QUERYREGISTRY query fails for D3DKMTQueryAdapterInfo
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/icd_windows_dxgk.c#2 edit
[ROCm/clr commit: 4bb8a13cfe]
SWDEV-2 - Change OpenCL version number from 2574 to 2575.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2322 edit
[ROCm/clr commit: 567b0849d8]
SWDEV-137270 - Add findLocalWorkSize to OpenCL runtime ROC device
- Add support for kernel using image argument
- fix the issue of not using the max workgroup size specified by the environment variables "maxWorkGroupSize*"
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.cpp#33 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.hpp#19 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocsettings.cpp#31 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#50 edit
[ROCm/clr commit: 87ad3f9692]
SWDEV-143191 - OpenCL Runtime Support for Vega20 BU in ROCm
- add device info entry for Vega20
- modified Makefile.library to use Vega20's bitcode library
Affected files ...
... //depot/stg/opencl/drivers/opencl/library/build/Makefile.library#63 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdefs.hpp#15 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#81 edit
[ROCm/clr commit: edb9746999]
SWDEV-2 - Change OpenCL version number from 2573 to 2574.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2321 edit
[ROCm/clr commit: 14f063ad6a]
SWDEV-116219 - Allocating memory on GPU is 2x slower on win10 RS than on win7
- Fix failures on Win7 32 bit after extending resource cache size. Disable SVM region reservation for 32 bits, since OCL2.0 is disabled for 32bit.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#581 edit
[ROCm/clr commit: 3e6aee2c93]
As HIP has started to support vanilla CUDA syntax for threadIdx, blockIdx, blockDim and gridDim.
Other CUDA builtins are not tracked for now.
[ROCm/clr commit: 42f0966a9e]
SWDEV-2 - Change OpenCL version number from 2572 to 2573.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2320 edit
[ROCm/clr commit: 501bfb890e]
If in source CUDA file main header (cuda_runtime.h or cuda.h) is not presented, corresponding HIP main header (hip_runtime.h) should be explicitly included in output hipified file.
[Algorithm]
1. If #pragma once is presented, HIP main header should be placed just after it;
2. Otherwise if any other (not CUDA main) header is presented, HIP main header should be placed just before it;
3. Otherwise HIP main header should be placed in the beginning of output file.
P.S.
There might be one more situation when #ifndef #define ... #endif guard for the entire file is presented (make sense for *.h, *.hpp, *.cuh files). In this case HIP main include should be placed just after such #ifdef, or after #pragma once, if it is also presented. This situation will be handled in a separate change.
[ROCm/clr commit: e90a76a1ef]
SWDEV-2 - Change OpenCL version number from 2571 to 2572.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2319 edit
[ROCm/clr commit: 551bd28120]
SWDEV-142224 - [OCL] OCL runtime hang in multithread app with extended tests
- Lock the resource cache only if a resource will be placed into the cache. Views, allocated/destroyed dynamically on the queues, won't be placed into the cache and lock should not be called for them
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#46 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.hpp#15 edit
[ROCm/clr commit: ec29b52ae8]
Env. var NVCUDASAMPLES_ROOT is changed to NVCUDASAMPLESX_Y_ROOT where X - major ver, Y - minor ver.
Reason: NVCUDASAMPLES_ROOT contains path to CUDA SDK installed last, while NVCUDASAMPLESX_Y_ROOT contains samples of the same version as of CUDA_TOOLKIT_ROOT_DIR.
[ROCm/clr commit: 39a0372077]