P4 to Git Change 1918730 by vsytchen@vsytchen-remote-ocl-win10 on 2019/06/28 14:40:48

SWDEV-193973 - [OpenCL][NV21] Add support for Navi21

	1. Add missing mainline checks

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palcounters.cpp#24 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#148 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#88 edit
이 커밋은 다음에 포함됨:
foreman
2019-06-28 14:50:33 -04:00
부모 2bc8836012
커밋 77b6f9c6e7
3개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
+1 -1
파일 보기
@@ -670,7 +670,7 @@ void PerfCounter::convertInfo() {
info_.counterIndex_ = std::get<1>(p);
}
break;
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);
+1 -1
파일 보기
@@ -181,7 +181,7 @@ bool NullDevice::init() {
ShouldNotReachHere();
break;
case 3:
ipLevel = Pal::GfxIpLevel::GfxIp10_3;
ShouldNotReachHere();
break;
}
}
+1 -1
파일 보기
@@ -471,7 +471,7 @@ bool Settings::create(const Pal::DeviceProperties& palProp,
}
if (useLightning_) {
switch (palProp.gfxLevel) {:
switch (palProp.gfxLevel) {
case Pal::GfxIpLevel::GfxIp10_1:
case Pal::GfxIpLevel::GfxIp9:
singleFpDenorm_ = true;