Re: [PATCH] liboffloadmic emulation mode: make it asynchronous

2015-09-29 Thread Ilya Verbin
On Tue, Sep 29, 2015 at 09:01:33 +0200, Jakub Jelinek wrote: > On Mon, Sep 28, 2015 at 05:53:42PM +0300, Ilya Verbin wrote: > > Currently the COI emulator is single-threaded, i.e. it is able to run only > > one > > target function at a time, e.g. the following testcase: > > > > #pragma omp para

Re: [PATCH] liboffloadmic emulation mode: make it asynchronous

2015-09-29 Thread Jakub Jelinek
On Mon, Sep 28, 2015 at 05:53:42PM +0300, Ilya Verbin wrote: > Currently the COI emulator is single-threaded, i.e. it is able to run only one > target function at a time, e.g. the following testcase: > > #pragma omp parallel sections num_threads(2) > { > #pragma omp section > #pr

[PATCH] liboffloadmic emulation mode: make it asynchronous

2015-09-28 Thread Ilya Verbin
Hi! Currently the COI emulator is single-threaded, i.e. it is able to run only one target function at a time, e.g. the following testcase: #pragma omp parallel sections num_threads(2) { #pragma omp section #pragma omp target while (1) putchar ('.'); #pragma