On Wed, Sep 18, 2013 at 02:52:17PM +0400, Ilya Verbin wrote: > On 18 Sep 10:38, Jakub Jelinek wrote: > ICC prints: > > inp 1 > 3 0 2 1 0 > 3 0 2 1 1
That doesn't look correct, because for levels above omp_get_level () it should return -1. Either the host fallback inside of target construct should be shielded away from the other threads (omp_* would pretend as if it really executed on some other target), or not, but then I don't see how it could return omp_get_level () of 0. There are other fuzzy things, like do the threads outside of target constructs and threads inside of it sum up together during host fallback for purposes of e.g. thread-limit-var ICV, or not. Jakub