Ping.

I can probably approve this myself, as it only affects GCN, but I'd appreciate a second opinion.

Thanks

Andrew

On 07/06/2019 15:39, Andrew Stubbs wrote:
This patch creates a new gthread model for AMD GCN devices.

For now, there's just enough support for libgfortran to use mutexes in its I/O routines. The rest can be added at a later time, if at all.

Notes:

  * GCN GPUs do not support dynamic creation and deletion of threads, so
    there can be no implementation for those functions. (There may be
    many threads, of course, but they are hardware managed and must be
    launched all at once.)

  * It would be possible to implement support for EMUTLS, but I have no
    wish to do so at this time, and it isn't likely to be needed by
    OpenMP or OpenACC offload kernels, so those functions are also stub
    implementations.

OK to commit?


Reply via email to