HIP_PLATFORM detection logic relied on finding a working KFD. If it was
found, the platform was set as hcc else as nvcc.
However this logic is flawed since it is possible for the development
system to only have the user mode bits to build HIP application code.
Hence the better logic is to rely on finding a suitable compiler.
The new logic is as follows:
- look for a working HCC. If found, platform is set as hcc.
- else look for a working NVCC. If found, platform is set as nvcc.
- else the platform defaults to hcc for now.
Change-Id: Ifcc42c29a19f722153d5c23c55f1a8765dceaf6b
SWDEV-2 - Change OpenCL version number from 2842 to 2843.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2590 edit
SWDEV-180407 - Observed failure while running OCL 2.0 conformance API : min_max_device_version
- revert CL1739455 to use OCL version 1.2 as default to avoid this issue for ROCm 2.2 release
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#117 edit
SWDEV-2 - Change OpenCL version number from 2841 to 2842.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2589 edit
SWDEV-181012 - [CQE OCL][DTB-BLOCKER][QR][Windows][19.10] clinfo results in "clBuildProgram" error with OCL binaries. Faulty CL#1737731
- Remove some dead code as suggested by Konstantin Zhuravlyov
- These strings are no longer needed, loader will never ask about them
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudefs.hpp#158 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#248 edit
SWDEV-180834 - [Forum] - Washed-Out Colors in Premiere Pro CC 2018 When 10bit Enabled
- Add CL_RGBA 101010 support for GL interop in GSL path.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudefs.hpp#157 edit
SWDEV-2 - Change OpenCL version number from 2840 to 2841.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2588 edit
SWDEV-2 - Change OpenCL version number from 2839 to 2840.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2587 edit
SWDEV-179047 - [CQE OCL][DTB-BLOCKER][QR][Windows][19.10] clinfo results in "clBuildProgram" error with OCL binaries. Faulty CL#1737731
-Tested on Picasso, PAL stack passed, ORCA stack has issue.
-PAL gas xnack feature supported, but ORCA diesn't
-Added xnack feature and tested, work fine on both Bristol and Picasso
- this is a simple temporary fix, will implement a proper fix later in another ticket.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudefs.hpp#155 edit
The implementation is copied from HCC runtime.
For hcc it has no effect since apps can find them in either hcc runtime or HIP
runtime.
hip-clang needs it in HIP/HCC runtime so that HIP/HCC and HIP/VDI runtime are
swappable.
SWDEV-2 - Change OpenCL version number from 2838 to 2839.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2586 edit
SWDEV-169154 - Implement OpenCL extension function to set stable pstate on ORCA stack
-Enable StablePstate feature in linux brahma stack
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#189 edit
SWDEV-2 - Change OpenCL version number from 2837 to 2838.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2585 edit
SWDEV-176282 - FP16_MatrixTranspose is failing on NAVI10/VEGA10 PAL/LC path:wq
- add COMGR logging support to show the build log
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#28 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.hpp#16 edit
SWDEV-2 - Change OpenCL version number from 2836 to 2837.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2584 edit
SWDEV-169154 - Implement OpenCL extension function to set stable pstate on ORCA stack
-Disable StablePstate feature in linux brahma stack
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#187 edit
SWDEV-2 - Change OpenCL version number from 2835 to 2836.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2583 edit