Reducing workload in hammer test (#48)

Reducing workload parser's in hammer test

Reducing hammer test workload by 4 to prevent timeout on ThreadSanitizer job.

[ROCm/rocprofiler-sdk commit: 2dc3a5ae95]
This commit is contained in:
Indic, Vladimir
2024-12-05 19:41:59 +01:00
committed by GitHub
parent 9ef758936f
commit b2ee1ece8f
@@ -66,7 +66,8 @@ multithread_queue_hammer(size_t tid, Latch* latch)
static auto corr_map = Parser::CorrelationMap{};
std::mt19937 rdgen(tid);
constexpr int NUM_ACTIONS = 100000;
// Reducing by four due to timeout on ThreadSanitizer job
constexpr int NUM_ACTIONS = 100000 / 4;
constexpr int QSIZE = 16;
constexpr int NUM_QUEUES = MockDoorBell::num_unique_bells / NUM_THREADS;
constexpr int ACTION_MAX = QSIZE * NUM_QUEUES / 2;