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
This commit is contained in:
1 parent
c99c79f578
commit
2bc8836012
5 files changed
+42
-46
No files matched your search
@@ -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