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
[ROCm/clr commit: 03adc12474]
SWDEV-2 - Change OpenCL version number from 2842 to 2843.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2590 edit
[ROCm/clr commit: 8b6f0a2c01]
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
[ROCm/clr commit: cf278cec27]
SWDEV-2 - Change OpenCL version number from 2841 to 2842.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2589 edit
[ROCm/clr commit: 918f2e197a]
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
[ROCm/clr commit: b7200ec2ad]
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
[ROCm/clr commit: adef8ef154]
SWDEV-2 - Change OpenCL version number from 2840 to 2841.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2588 edit
[ROCm/clr commit: 0010e42ec9]
SWDEV-2 - Change OpenCL version number from 2839 to 2840.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2587 edit
[ROCm/clr commit: e776d5bca4]
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
[ROCm/clr commit: 908dafa7b1]
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.
[ROCm/clr commit: 972ca06c4c]
SWDEV-2 - Change OpenCL version number from 2838 to 2839.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2586 edit
[ROCm/clr commit: 89750bfa0a]
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
[ROCm/clr commit: 7b958148e2]
SWDEV-2 - Change OpenCL version number from 2837 to 2838.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2585 edit
[ROCm/clr commit: a43ed30c25]
SWDEV-2 - Change OpenCL version number from 2836 to 2837.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2584 edit
[ROCm/clr commit: b5fbe8c22d]
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
[ROCm/clr commit: 28fd6ede82]
SWDEV-2 - Change OpenCL version number from 2835 to 2836.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2583 edit
[ROCm/clr commit: b7f0a4dd64]
+ CUDNN_API_supported_by_HIP.md update
+ CUDA_Runtime_API_functions_supported_by_HIP.md update
+ libraryPropertyType_t is moved to Runtime
+ test update
[ROCm/clr commit: b22c0de428]
SWDEV-2 - Change OpenCL version number from 2834 to 2835.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2582 edit
[ROCm/clr commit: 489dfd8a84]