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
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
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:
> >>
>
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,
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,
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