SWDEV-2 - Change OpenCL version number from 2490 to 2491.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2238 edit
Blocks inside of HsaCounterProperties structure is not a fixed size. It
varies with number of counters in the block -- size of Counters in
HsaCounterBlockProperties is different in every block. Current
implementation assumes fixed size and the next block will overwrite the
previous block's Counters. This patch change the array implementation to
using a pointer so it'll move the next block to the correction position.
Change-Id: I72800f4db5f2a68215fba477a61ca07ec99054bf
Signed-off-by: Amber Lin <Amber.Lin@amd.com>
Blocks inside of HsaCounterProperties structure is not a fixed size. It
varies with number of counters in the block -- size of Counters in
HsaCounterBlockProperties is different in every block. Current
implementation assumes fixed size and the next block will overwrite the
previous block's Counters. This patch change the array implementation to
using a pointer so it'll move the next block to the correction position.
Change-Id: I72800f4db5f2a68215fba477a61ca07ec99054bf
Signed-off-by: Amber Lin <Amber.Lin@amd.com>
[ROCm/ROCR-Runtime commit: 117fa5034b]
SWDEV-2 - Change OpenCL version number from 2489 to 2490.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2237 edit
[ROCm/clr commit: 86752f8861]
SWDEV-2 - Change OpenCL version number from 2489 to 2490.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2237 edit
SWDEV-86035 - Code clean-up
- Use TS check first to avoid LogError
- Reset VirtualGPU reference if resource was cached
- Lock active VirtualGPU on release, since a cached resource can have access to that queue from another thread
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#32 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#54 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.hpp#30 edit
[ROCm/clr commit: 38c1488dfd]
SWDEV-86035 - Code clean-up
- Use TS check first to avoid LogError
- Reset VirtualGPU reference if resource was cached
- Lock active VirtualGPU on release, since a cached resource can have access to that queue from another thread
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#32 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#54 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.hpp#30 edit
SWDEV-79278 - [OCL][NV10] adding Pal::GfxIpLevel::GfxIp10 into couple of places and fixing a typo in GfxIpDeviceInfo table (gfx801 should be 810)
ReviewBoardURL = http://ocltc.amd.com/reviews/r/13369/
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldefs.hpp#20 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#52 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#28 edit
SWDEV-2 - Change OpenCL version number from 2488 to 2489.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2236 edit
[ROCm/clr commit: 06c254beb0]
SWDEV-2 - Change OpenCL version number from 2488 to 2489.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2236 edit
SWDEV-128844 - OpenCL conformance test 2.0/gl/test_gl.exe fails to run on Vega10
Before switching to PAL on gfx9, we didnt need to pass any argument for running Conformance tests and the first GPU device was selected automatically to run the tests.
But after switching to PAL, we need to explicitly pass either gpu or GPU_DEVICE_TYPE_GPU as an argument to run Conformance tests otherwise the tests are failing (clGetDeviceIDs failure)
The reason for this issue is that the logic for creating device and null devices (offline devices) changed after switching to PAL for gfx9+ devices.
To fix this issue, dont assign an offline device as "default" device.
ReviewBoardURL = http://ocltc.amd.com/reviews/r/13360/diff/2/
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#212 edit
[ROCm/clr commit: 7335e429cb]
SWDEV-128844 - OpenCL conformance test 2.0/gl/test_gl.exe fails to run on Vega10
Before switching to PAL on gfx9, we didnt need to pass any argument for running Conformance tests and the first GPU device was selected automatically to run the tests.
But after switching to PAL, we need to explicitly pass either gpu or GPU_DEVICE_TYPE_GPU as an argument to run Conformance tests otherwise the tests are failing (clGetDeviceIDs failure)
The reason for this issue is that the logic for creating device and null devices (offline devices) changed after switching to PAL for gfx9+ devices.
To fix this issue, dont assign an offline device as "default" device.
ReviewBoardURL = http://ocltc.amd.com/reviews/r/13360/diff/2/
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#212 edit
SWDEV-2 - Change OpenCL version number from 2487 to 2488.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2235 edit
[ROCm/clr commit: 2a0e896048]
SWDEV-2 - Change OpenCL version number from 2487 to 2488.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2235 edit