Re: [gomp4] GOMP_target fall back execution

2013-09-18 Thread Jakub Jelinek
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 shoul

Re: [gomp4] GOMP_target fall back execution

2013-09-18 Thread Ilya Verbin
On 18 Sep 10:38, Jakub Jelinek wrote: > and what test5.c should print I have no idea (does ICC already support this > and can you see what it prints?). > > test5.c: > #include > #include > > int > main () > { > omp_set_dynamic (0); > omp_set_nested (1); > #pragma omp parallel num_threads

Re: [gomp4] GOMP_target fall back execution

2013-09-18 Thread Jakub Jelinek
On Wed, Sep 18, 2013 at 12:31:18PM +0200, Richard Biener wrote: > On Wed, Sep 18, 2013 at 10:38 AM, Jakub Jelinek wrote: > > On Wed, Sep 18, 2013 at 11:54:35AM +0400, Kirill Yukhin wrote: > >> Hello, > >> It seems that currently GOMP_target perform call to host variant of the > >> routine: > >> >

Re: [gomp4] GOMP_target fall back execution

2013-09-18 Thread Richard Biener
On Wed, Sep 18, 2013 at 10:38 AM, Jakub Jelinek wrote: > On Wed, Sep 18, 2013 at 11:54:35AM +0400, Kirill Yukhin wrote: >> Hello, >> It seems that currently GOMP_target perform call to host variant of the >> routine: >> >> void >> GOMP_target (int device, void (*fn) (void *), const char *fnname,

Re: [gomp4] GOMP_target fall back execution

2013-09-18 Thread Jakub Jelinek
On Wed, Sep 18, 2013 at 11:54:35AM +0400, Kirill Yukhin wrote: > Hello, > It seems that currently GOMP_target perform call to host variant of the > routine: > > void > GOMP_target (int device, void (*fn) (void *), const char *fnname, > size_t mapnum, void **hostaddrs, size_t *sizes,

[gomp4] GOMP_target fall back execution

2013-09-18 Thread Kirill Yukhin
Hello, It seems that currently GOMP_target perform call to host variant of the routine: void GOMP_target (int device, void (*fn) (void *), const char *fnname, size_t mapnum, void **hostaddrs, size_t *sizes, unsigned char *kinds) { device = resolve_device (device); if