SWDEV-422207 - Enable DEBUG_CLR_GRAPH_PACKET_CAPTURE environiment variable
Change-Id: I9bf72b9c1a56980352109bd4d42b54ecb2d1b8f9
[ROCm/clr commit: ae0368d12d]
Este cometimento está contido em:
1 ascendente
7e4e75a53d
cometimento
5c0490f53b
3 ficheiros modificados
+5
-3
Não existem ficheiros que correspondam à sua pesquisa
@@ -585,8 +585,9 @@ hipError_t GraphExec::Run(hipStream_t stream) {
|
||||
amd::AccumulateCommand* accumulate = nullptr;
|
||||
bool isLastPacketKernel = false;
|
||||
if (DEBUG_CLR_GRAPH_PACKET_CAPTURE) {
|
||||
uint8_t* lastCapturedPacket = (topoOrder_.back()->GetType() == hipGraphNodeTypeKernel) ?
|
||||
topoOrder_.back()->GetAqlPacket() : nullptr;
|
||||
uint8_t* lastCapturedPacket = (topoOrder_.back()->GetType() == hipGraphNodeTypeKernel)
|
||||
? topoOrder_.back()->GetAqlPacket()
|
||||
: nullptr;
|
||||
accumulate = new amd::AccumulateCommand(*hip_stream, {}, nullptr, lastCapturedPacket);
|
||||
}
|
||||
|
||||
|
||||
Criar uma nova questão referindo esta
Bloquear um utilizador