=> New ROCr calculates pitch as per HSA specification and addrlib is used to check whether HW can support that configuration. Hence few texture tests are failing with HSA_EXT_STATUS_ERROR_IMAGE_PITCH_UNSUPPORTED.
=> Determine pitch for linear images and always pass rowpitch to HSA API's.
SWDEV-79445 - OCL generic changes and code clean-up
Make the conversion from amd::Coord3D to size_t* be explicit.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/platform/object.hpp#21 edit
SWDEV-219341 - Free memory correctly. hiprtcProgram is a pointer by itself. So release *prog
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_rtc.cpp#10 edit
SWDEV-2 - Change OpenCL version number from 3079 to 3080.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2827 edit
SWDEV-79445 - OCL generic changes and code clean-up
Alllow amd::Coord3D to decay into size_t*. This allows creating an amd::BufferRect obect without the need of explicitly passing size_t[3] arguments.
ReviewBoardURL = http://ocltc.amd.com/reviews/r/18473/diff/
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/platform/object.hpp#20 edit
SWDEV-2 - Change OpenCL version number from 3078 to 3079.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2826 edit
SWDEV-219121 - [Navi][ROCm] Add performance counter support
This is initial implementation for Navi 10 performance counter in OpenCL runtime.
Tests:
1. http://ocltc.amd.com:8111/viewModification.html?modId=130609&personal=true&tab=vcsModificationBuilds
2. ./ocltst -m oclruntime.so -t OCLPerfCounters
Before this code change, the segmenation fault happens inside OpenCL runtime. After this code change, the error happened inside HSA. Error message is generated in function hsa_ven_amd_aqlprofile_start. Inside this function, the C++ try block create exception. The exception error in HSA is "GFXIP is not supported(gfx1010)". We need HSA to add support for Navi.
ReviewBoards: http://ocltc.amd.com/reviews/r/18463/
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/roccounters.cpp#5 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/roccounters.hpp#4 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#94 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/runtime/OCLPerfCounters.cpp#50 edit
SWDEV-2 - Change OpenCL version number from 3077 to 3078.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2825 edit
SWDEV-205925 - Update HIP texture APIs for issue in hipTexRefSetAddress in HIP/PAL on Windows
-Update HIP texture function parameter to use hipChannelFormatDesc& desc
http://ocltc.amd.com/reviews/r/18456/
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_texture.cpp#33 edit
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.
SWDEV-2 - Change OpenCL version number from 3076 to 3077.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2824 edit
SWDEV-2 - Change OpenCL version number from 3075 to 3076.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2823 edit
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 cf526f5484.
- Revert "Fix rocFFT build failure (#1777)"
This reverts commit cbd8f604ec.
SWDEV-2 - Change OpenCL version number from 3074 to 3075.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2822 edit
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
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
SWDEV-2 - Change OpenCL version number from 3073 to 3074.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2821 edit
* Fix hipcc warning related to hipVersion
* Rename hipVersion.h to hip_version.h
* Remove HIP_VERSION splitting
* Update .gitignore
- Ignore generated include/hip/hip_version.h
- Removed some stale entries
- Added executables from samples/1_Utils/*/ for consistency with bin/ entries.
SWDEV-2 - Change OpenCL version number from 3072 to 3073.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2820 edit
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
SWDEV-2 - Change OpenCL version number from 3071 to 3072.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2819 edit
SWDEV-2 - Change OpenCL version number from 3070 to 3071.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2818 edit
SWDEV-2 - Change OpenCL version number from 3069 to 3070.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2817 edit
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.
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.