P4 to Git Change 1917655 by vsytchen@vsytchen-remote-ocl-win10 on 2019/06/28 10:05:26
SWDEV-193973 - [OpenCL][NV21] Add support for Navi21
1. Recognize gfx10.3 in OpenCL.
2. Don't report nv12/nv12_lite/nv21 for mainline OpenCL.
3. Disable nv10_lite/nv21_lite for OpenCL (gfx1000/1020 are not supported by LC).
ReviewBoardURL = http://ocltc.amd.com/reviews/r/17603/diff/
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbedefs#42 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palcounters.cpp#23 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldefs.hpp#56 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#147 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#87 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/macros.hpp#13 edit
[ROCm/clr commit: 2bc8836012]
This commit is contained in:
@@ -670,8 +670,7 @@ void PerfCounter::convertInfo() {
|
||||
info_.counterIndex_ = std::get<1>(p);
|
||||
}
|
||||
break;
|
||||
case Pal::GfxIpLevel::GfxIp10:
|
||||
case Pal::GfxIpLevel::GfxIp10_1:
|
||||
case Pal::GfxIpLevel::GfxIp10_1::
|
||||
if (info_.blockIndex_ < gfx10BlockIdPal.size()) {
|
||||
auto p = gfx10BlockIdPal[info_.blockIndex_];
|
||||
info_.blockIndex_ = std::get<0>(p);
|
||||
|
||||
Reference in New Issue
Block a user