[PATCH] AMD GCN: Implement circular buffering.
Andrew Stubbs
ams@codesourcery.com
Tue Mar 19 12:13:00 GMT 2019
On 18/03/2019 17:49, Corinna Vinschen wrote:
> On Mar 18 16:18, Andrew Stubbs wrote:
>>
>> The GCN port outputs stdout and stderr via a shared-memory interface.
>> Previously the buffer was limited to 1000 write operations, which was enough
>> for testing purposes, but easy to exhaust.
>>
>> This patch implements a new circular buffering system allowing a greater
>> amount of output. The interface must allow hundreds of hardware threads to
>> output simultaneously. The new limit is UINT32_MAX write operations.
>>
>> Unfortunately, there's no way to tell if the host side has also been updated.
>> This code will misbehave unless the gcn-run from GCC is also updated (although
>> it's fine the other way around), but that patch has already been committed.
>>
>> OK?
>
> Pushed.
Thanks. :-)
Is there a preferred way to prevent the "OK?" getting included in the
commit message? Or does one just avoid all chit-chat these days?
Andrew
More information about the Newlib
mailing list