P4 to Git Change 2010251 by vsytchen@vsytchen-remote-ocl-win10 on 2019/10/08 18:30:23
SWDEV-193973 - Update perfcounter info to accomodate PAL interface changes
Gfx103 added perf counters for three new blocks - GeDist, GeSe and Df
1. Update the blockIdToIndexSelect array to reflect these changes.
ReviewBoardURL = http://ocltc.amd.com/reviews/r/18063/diff/
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palcounters.cpp#25 edit
[ROCm/clr commit: 5fc5006853]
Этот коммит содержится в:
@@ -138,7 +138,11 @@ bool PalCounterReference::finalize() {
|
||||
}
|
||||
}
|
||||
|
||||
#if !IS_MAINLINE && (PAL_CLIENT_INTERFACE_MAJOR_VERSION >= 543)
|
||||
static const std::array<PCIndexSelect, 49> blockIdToIndexSelect = {{
|
||||
#else
|
||||
static const std::array<PCIndexSelect, 46> blockIdToIndexSelect = {{
|
||||
#endif
|
||||
PCIndexSelect::None, // CPF
|
||||
PCIndexSelect::ShaderEngine, // IA
|
||||
PCIndexSelect::ShaderEngine, // VGT
|
||||
@@ -185,6 +189,11 @@ static const std::array<PCIndexSelect, 46> blockIdToIndexSelect = {{
|
||||
PCIndexSelect::None, // GCR
|
||||
PCIndexSelect::None, // PH
|
||||
PCIndexSelect::ShaderArray, // UTCL1
|
||||
#if !IS_MAINLINE && PAL_CLIENT_INTERFACE_MAJOR_VERSION >= 543
|
||||
PCIndexSelect::None, // GeDist
|
||||
PCIndexSelect::ShaderEngine, // GeSe
|
||||
PCIndexSelect::None, // Df
|
||||
#endif
|
||||
}};
|
||||
|
||||
static_assert(blockIdToIndexSelect.size() == static_cast<size_t>(Pal::GpuBlock::Count), "size of blockIdToIndexSelect does not match GpuBlock::Count");
|
||||
|
||||
Ссылка в новой задаче
Block a user