SWDEV-486602 - Optimize HSA callback performance

- Don't generate callbacks for HIP events
- Don't process profiling info in the callback for HIP events
- Wait for CPU status update of the submitted commands
every 50 calls. That will allow to drain the commands and
destroy HSA signals.

Change-Id: Ib601a350e7e7c2b6c6209a172385389baccf73a9


[ROCm/clr commit: 364dfb0ed1]
Cette révision appartient à :
German Andryeyev a révisé 2024-10-11 14:50:25 -04:00
1 Parent 043271a3e6
révision faea40cbb3
12 fichiers modifiés
+58 -54

Aucun fichier ne correspond à votre recherche

+1
Voir le fichier
@@ -114,6 +114,7 @@ class Event : public RuntimeObject {
uint64_t correlation_id_;
bool enabled_; //!< Profiling enabled for the wave limiter
bool marker_ts_; //!< TS marker
bool batch_flush_ = true; //!< Command can flush the batch in direct dispatch mode
void clear() {
queued_ = 0ULL;