Reducing rocprofilerv2 memory usage

Change-Id: I13c2dec763818df38868593bba0223f01132bb7a
Tento commit je obsažen v:
Giovanni LB
2024-05-07 21:47:29 -03:00
odevzdal Giovanni Baraldi
rodič 67faf92553
revize 0fc74490cd
+1 -1
Zobrazit soubor
@@ -200,7 +200,7 @@ struct hip_api_trace_entry_t {
size_t GetBufferSize() {
auto bufSize = getenv("ROCPROFILER_BUFFER_SIZE");
// Default size if not set
if (!bufSize) return 0x200000;
if (!bufSize) return 0x40000;
return std::stoll({bufSize});
}