Reducing rocprofilerv2 memory usage
Change-Id: I13c2dec763818df38868593bba0223f01132bb7a
This commit is contained in:
committed by
Giovanni Baraldi
parent
67faf92553
commit
0fc74490cd
+1
-1
@@ -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});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user