On Wed, Sep 23, 2015 at 08:22:20PM +0300, Alexander Monakov wrote: > This stub header only provides empty struct gomp_barrier_t. For now I've > punted on providing a minimally-correct implementation. > > * config/nvptx/bar.h: New file. > --- > libgomp/config/nvptx/bar.h | 38 ++++++++++++++++++++++++++++++++++++++ > 1 file changed, 38 insertions(+) > create mode 100644 libgomp/config/nvptx/bar.h
Ok (barrier is complicated by the need to handle explicit tasks and cancellation), so it will not be just bar.sync insn alone (bet bar.arrive followed by task handling/cancellation checking and finally bar.sync or so?). Jakub