SWDEV-120036 - Supporting the cl_amd_device_attribute_query on the ROC device
- divided the query of HSA_AMD_AGENT_INFO_MEMORY_WIDTH by 32 to obtained the globale memory channels as done in ORCA and PAL
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#69 edit
SWDEV-2 - Change OpenCL version number from 2516 to 2517.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2264 edit
SWDEV-2 - Change OpenCL version number from 2515 to 2516.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2263 edit
SWDEV-133815 - PAL support for Linux Pro w/OpenCL 2.0 support
- Fix the clear size in FillBuffer. It's in bytes.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#61 edit
SWDEV-2 - Change OpenCL version number from 2514 to 2515.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2262 edit
SWDEV-2 - Change OpenCL version number from 2513 to 2514.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2261 edit
SWDEV-2 - Change OpenCL version number from 2512 to 2513.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2260 edit
SWDEV-134554 - OCLPerfConcurrency is failed on Vega10 Lnx Pro after CL#1465654
- fixed the issue by limit the number of asyn queues to 8, which matches the number of pipes.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdefs.hpp#12 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#68 edit
SWDEV-2 - Change OpenCL version number from 2511 to 2512.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2259 edit
SWDEV-126904 - rocm Pipe: fill device info for Pipe, and initialize Pipe memory object according to clk_pipe_t structure
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#67 edit
SWDEV-2 - Change OpenCL version number from 2510 to 2511.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2258 edit
SWDEV-120036 - Supporting the cl_amd_device_attribute_query on the ROC device
- resubmit the codes with the addition of global free memory query support
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#66 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.hpp#24 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocmemory.cpp#26 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocsettings.cpp#27 edit
SWDEV-2 - Change OpenCL version number from 2509 to 2510.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2257 edit
SWDEV-2 - Change OpenCL version number from 2508 to 2509.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2256 edit
SWDEV-79445 - OCL generic changes and code clean-up
- Disable runtime destruction. C++ wrapper and compiler lib static objects can be destroyed in undesired order and cause a crash
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/platform/runtime.cpp#38 edit
SWDEV-134228 - Remove dead code.
hsa_memory_assign_agent is not needed with pool memory APIs and has been superceded by hsa_amd_agents_allow_access.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#65 edit
SWDEV-79445 - OCL generic changes and code clean-up
- Add RuntimeTearDown class for device destruction on exit. Fixes an assert in PAL under Linux.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/platform/runtime.cpp#36 edit
SWDEV-133851 - [CQE OCL][1.2][LNX-PRO] A subtest from OCLcompiler is failing due to faulty cl#1458879
- If pinning failed and allocation was forced to system memory, then copy the original data
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#577 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#64 edit
SWDEV-2 - Change OpenCL version number from 2507 to 2508.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2255 edit
SWDEV-2 - Change OpenCL version number from 2506 to 2507.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2254 edit
SWDEV-2 - Change OpenCL version number from 2505 to 2506.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2253 edit
SWDEV-95919 - Expose coutners by instances and not number of counters. Also expose EA and RMI instances.
ReviewBoardURL = http://ocltc.amd.com/reviews/r/13502/diff/
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palcounters.cpp#15 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/runtime/OCLPerfCounters.cpp#41 edit
SWDEV-2 - Change OpenCL version number from 2504 to 2505.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2252 edit
SWDEV-132899 - [OCL][GFX10] Add support for GFX10
Adjusting WaveFrontSize for Null Devices based on the gfxip (the WaveFrontSize is 32 for gfxip10)
ReviewBoardURL = http://ocltc.amd.com/reviews/r/13486/
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#63 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#37 edit
SWDEV-2 - Change OpenCL version number from 2503 to 2504.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2251 edit
SWDEV-2 - Change OpenCL version number from 2502 to 2503.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2250 edit
SWDEV-86035 - Switch back to 8 CBs due to HW hangs with HWSC on VI.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#59 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.hpp#32 edit
SWDEV-118564 - [OCL-LC-ROCm] Remove options, which have already been moved to AMDGPUToolChain by https://reviews.llvm.org/rL312524
In order to have similar set of optipons for online and offline compilation a mechanism of setting default options in AMDGPUToolChain was implemented by https://reviews.llvm.org/rL312524. That commit also sets two default options in AMDGPUToolChain: -m64 and -O3 (the latter only set if there is no -O{N} option in the args). The commit has already reached amd-common.
The current change relates to LC only and removes setting of -m64 from compileImpl_LC() as it is set later in TranslateArgs(); for online -O{N} is set as before by RT and stays unchanged in AMDGPUToolChain; for offline it is set to -O3 by TranslateArgs() if no -O{N} is passed through args.
Also remove comments regarding "-x cl" as it is now correctly set in OpenCL driver.
Review: http://ocltc.amd.com/reviews/r/13454/
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palcompiler.cpp#18 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/roccompiler.cpp#36 edit
SWDEV-2 - Change OpenCL version number from 2501 to 2502.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2249 edit
SWDEV-2 - Change OpenCL version number from 2500 to 2501.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2248 edit
SWDEV-120036 - Supporting the cl_amd_device_attribute_query on the ROC device - Back out changelist 1459984
- not all device attributes are supported, will re-submit the changes when every attribute is supported.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#64 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocsettings.cpp#26 edit
SWDEV-111439 - Add query for preferred constant size
- fixed a mistake of using 64KiB for the size, which should be 16KiB.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#576 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#62 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#63 edit
SWDEV-2 - Change OpenCL version number from 2499 to 2500.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2247 edit
SWDEV-2 - Change OpenCL version number from 2498 to 2499.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2246 edit
SWDEV-129129 - [[CQE OCL][Vega vs Fiji] Upto 12% Performance drop observed on VEGA10 compared to FIJI while running BlackMagic Davinci Resolve
More benchmark tuning:
- Keep system memory locked in the resource cache. That removes huge amount of lock/unlock calls to OS due to the resource creation and destruciton
- Reduce the command buffer size to 256 commands and incrrease the amount of CBs to 16
- Increase the amount of resident resources to 2048
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#574 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palmemory.cpp#17 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#37 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#58 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.hpp#31 edit
SWDEV-2 - Change OpenCL version number from 2497 to 2498.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2245 edit