SWDEV-301667 - Enable ROCr logging
- Use AMD_LOG_LEVEL=5 to dump AQL packets in ROCr
Change-Id: I2c044a5304c4eaf3d3af20e62d1f54c98d4fbaa4
[ROCm/clr commit: e36666e536]
Cette révision appartient à :
1 Parent
375ed9d848
révision
b9497ea70e
2 fichiers modifiés
+14
-1
Aucun fichier ne correspond à votre recherche
@@ -836,6 +836,12 @@ bool Device::create() {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (AMD_LOG_LEVEL >= LOG_EXTRA_DEBUG) {
|
||||
uint8_t logMask[8] = { 0 };
|
||||
hsa_flag_set64(logMask, HSA_AMD_LOG_FLAG_BLIT_KERNEL_PKTS);
|
||||
hsa_amd_enable_logging(logMask, outFile);
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Référencer dans un nouveau ticket
Bloquer un utilisateur