The randomly generated offset+width may exceeds 32, which causes
a left shift operation with 32-offset-width. As an unsigned number
that is greater than 32 and causes undefined behavior. When the
test is compiled without -mavx it is still OK. However when
the test is compiled with -mavx, the undefined behavior causes
wrong results and test failure.
This patch adjusts width so that offset+width<=32 always.
[ROCm/clr commit: 55525fa466]
SWDEV-2 - Change OpenCL version number from 3076 to 3077.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2824 edit
[ROCm/clr commit: c583dfddf8]
SWDEV-2 - Change OpenCL version number from 3075 to 3076.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2823 edit
[ROCm/clr commit: b7dabf5c3b]
Fixes SWDEV-218626 and SWDEV-218629
Changes:
- Revert "`static inline` in a header, just like excess sugar in a diet, causes bloat (#1692)"
This reverts commit 47725baf8c.
- Revert "Fix rocFFT build failure (#1777)"
This reverts commit f7bac3e057.
[ROCm/clr commit: c091635f5a]
SWDEV-2 - Change OpenCL version number from 3074 to 3075.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2822 edit
[ROCm/clr commit: bc91a60139]
SWDEV-218016 - There is a bug in the OCL/DX interop
- Initialize event query value to FALSE and correct the loop condition to make sure query waits for the end.
http://ocltc.amd.com/reviews/r/18447/
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_d3d10.cpp#18 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_d3d11.cpp#28 edit
[ROCm/clr commit: 0a27603178]
SWDEV-215533 - [HIP][Windows]Output mismatch with tex3D()
1. Implement hipMemcpy3DAsync().
2. Add logic in hipMemcpy3D() to determine based on src/dst parameters if the user intended on calling cudaMemcpy3D() or cuMemcpy3D().
ReviewBoardURL = http://ocltc.amd.com/reviews/r/18444/diff/
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.def.in#38 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.map.in#36 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#95 edit
[ROCm/clr commit: e5c5338146]
* Detect when an explicit printf buffer flush is required
in a device/stream synchronization function.
* hip_module.cpp: add missing hc_am.hpp header
[ROCm/clr commit: 26b50e1e1b]
SWDEV-2 - Change OpenCL version number from 3073 to 3074.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2821 edit
[ROCm/clr commit: 413eaa9dca]
SWDEV-2 - Change OpenCL version number from 3072 to 3073.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2820 edit
[ROCm/clr commit: 93afda79fd]
SWDEV-213000 - Backout change to notifyCmdQueue as the real issue has been identified
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_module.cpp#53 edit
[ROCm/clr commit: a941903848]
SWDEV-2 - Change OpenCL version number from 3071 to 3072.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2819 edit
[ROCm/clr commit: 375e16b00d]
SWDEV-2 - Change OpenCL version number from 3070 to 3071.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2818 edit
[ROCm/clr commit: 0117e25aee]
SWDEV-2 - Change OpenCL version number from 3069 to 3070.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2817 edit
[ROCm/clr commit: 4e2333f7d8]
HIP_VERSION_MAJOR, HIP_VERSION_MINOR, HIP_VERSION_PATCH and HIP_VERSION pre-processor macros are now defined in hipVersion.h instead of being set by hipcc.
[ROCm/clr commit: 4fd77f8336]
This PR is a follow-up on PR# #1698 and it makes two more APIs (hipLaunchCooperativeKernel/hipLaunchCooperativeKernelMultiDevice) inline so that they can work correctly with lazy binding.
[ROCm/clr commit: 857052be1e]
SWDEV-151670: Issue with 3D texture with 4 components
SWDEV-151671: Issue with 2D layered texture with 4 components
Fixed memcpy when memory is allocated with driver API's.
Github issues: #1755
Fixed 3D default case when array type is not set during memory allocation.
[ROCm/clr commit: 651c7a8e27]
SWDEV-2 - Change OpenCL version number from 3068 to 3069.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2816 edit
[ROCm/clr commit: c04203fc4d]
SWDEV-203814 - Change the return type of the hiprtcGetTypeName to have compatibility across ABIs
ReviewBoardURL = http://ocltc.amd.com/reviews/r/18392/diff/
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_rtc.cpp#9 edit
[ROCm/clr commit: 4185d21347]
SWDEV-2 - Change OpenCL version number from 3067 to 3068.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2815 edit
[ROCm/clr commit: e866011a92]
SWDEV-2 - Change OpenCL version number from 3066 to 3067.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2814 edit
[ROCm/clr commit: 3190f82d6c]
SWDEV-216705 - [hipclang-vdi-rocm][FBA-80]Test crash when all GPUs are hidden by ROCR_VISIBLE_DEVICES
Return an error instead of dereferencing a null pointer. This should address the issue described
in the ticket, but more places need fixing in the runtime to avoid crashes for corner cases.
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_platform.cpp#59 edit
[ROCm/clr commit: ba3da9b3ec]
SWDEV-216708 - [hipclang-vdi-rocm][FBA-77]hipGetDeviceCount() query should not trigger any queue creation.
- KFD queues get created when we call hsa_executable_load_agent_code_object when creating a blitProgram at init. Delay blit creation until when needed
- Queue also gets created when we init a xferQueue. Delay that too until when needed.
If we want to have a lite init, there are multiple changes needed in both OpenCL and HIP. Thats rather a feature to work on later.
ReviewBoardURL = http://ocltc.amd.com/reviews/r/18416/diff/
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocblit.cpp#34 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#148 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.hpp#47 edit
[ROCm/clr commit: 1384e82e60]
SWDEV-2 - Change OpenCL version number from 3065 to 3066.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2813 edit
[ROCm/clr commit: 30ba6b114c]