You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Various models use an output buffer which is a static character array of something like 4k chars to output to the LPIO files at the end of the simulation. These are initialized when the LPs are initialized but generally unused until the end. Some models push to them during the sim which I guess is why they're included in the LP state. But is this really necessary or helpful? Wouldn't it be cheaper to handle during the finalize() function of that LP unless otherwise necessary (dragonfly models for instance only use it in finalize()).
Also I have a sneaking suspicion that we're using more than whats allocated in finalize anyway and doing some risky leaky memory stuff.
The text was updated successfully, but these errors were encountered:
Various models use an output buffer which is a static character array of something like 4k chars to output to the LPIO files at the end of the simulation. These are initialized when the LPs are initialized but generally unused until the end. Some models push to them during the sim which I guess is why they're included in the LP state. But is this really necessary or helpful? Wouldn't it be cheaper to handle during the finalize() function of that LP unless otherwise necessary (dragonfly models for instance only use it in finalize()).
Also I have a sneaking suspicion that we're using more than whats allocated in finalize anyway and doing some risky leaky memory stuff.
The text was updated successfully, but these errors were encountered: