SWDEV-494231 - Revert TS optimization
Runtime may use checkGpuTime() for the wait and not just for the GPU time queries. Hence, the call can't be skipped if profiling isn't enabled. More changes are required for this optimization. Change-Id: I79e8918312e755d75f0d26685f2fdc604a8ffb18
이 커밋은 다음에 포함됨:
1 부모
d997f78be4
커밋
e2eeb20c00
1 파일이 변경됨
-3
@@ -127,9 +127,6 @@ static unsigned extractAqlBits(unsigned v, unsigned pos, unsigned width) {
|
||||
|
||||
// ================================================================================================
|
||||
void Timestamp::checkGpuTime() {
|
||||
if (amd::IS_HIP && !amd::activity_prof::IsEnabled(OP_ID_DISPATCH)) {
|
||||
return;
|
||||
}
|
||||
amd::ScopedLock s(lock_);
|
||||
if (HwProfiling()) {
|
||||
uint64_t start = std::numeric_limits<uint64_t>::max();
|
||||
|
||||
새 이슈에서 참조
사용자 차단