Skip to content

Failed to run DawnCC OpenACC annotated code compiled with PGI C compiler #15

@babouFomb

Description

@babouFomb

Hi,

I downloaded DawnCC benchmarks zip file and compiled auto_acc directory files with PGI compiler (release 16.10-0) on Ubuntu 14.04.

This is the pgcc output during the compilation of 2DConvolution.c file.

rokiatou@rokiatou:~/Documents/Thèse/dawncc_doc/benchmarks/polybench/auto_acc/2DCONV$ pgcc 2DConvolution.c -g -mp -Minform=warn -fast -O3 -acc -Minfo -time -ta=nvidia,cuda7.5,cc35,fastmath,fma,keepgpu,keepptx,lineinfo,unroll,loadcache:L1 -o test
conv2D:
46, Loop not vectorized: data dependency
Loop unrolled 2 times
GPU__conv2D:
67, Generating copyin(A[:67108864])
Generating copyout(B[8193:67092478])
68, Generating implicit copyin(A[:67108864])
Generating implicit copyout(B[8193:67092478])
70, Loop is parallelizable
Loop not fused: no successor loop
72, Complex loop carried dependence of A->,B-> prevents parallelization
Inner sequential loop scheduled on accelerator
Accelerator kernel generated
Generating Tesla code
70, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */
72, #pragma acc loop seq
72, Complex loop carried dependence of B-> prevents parallelization
Loop not vectorized: data dependency
Loop unrolled 2 times
init:
87, Loop not vectorized/parallelized: contains call
compareResults:
102, Loop not vectorized/parallelized: contains call
Timing stats:
init 66 millisecs 44%
parser 17 millisecs 11%
vectorize 50 millisecs 33%
schedule 17 millisecs 11%
Total time 150 millisecs

But when I tried to run my object file test, I got the following error message:

Two dimensional (2D) convolution <<
Failing in Thread:1
call to cuModuleLoadData returned error 209: No binary for GPU

I got the same message for all others. I don't understand why this happen while when I annotate manually my code and compile it with pgcc, I don't get any runtime error.

Thank.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions