Re: Fwd: Problems when use OpenACC with a Kernel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Esteban!

Please in the future use the <gcc-help@xxxxxxxxxxx> for getting help with
GCC (HTML email will be discarded, if I remember correctly).

A first try at answering your question:

On Sat, 19 Sep 2015 22:57:36 +0000, Esteban Hernández <eshernan@xxxxxxxxx> wrote:
> Dear Thomas and nathan,
> 
> 
> My Name is Esteban Hernandez,  a PhD Student of Distrital University,
> Bogota, Colombia,
> 
> 
> I'm trying to use OpenACC 2.0 with GCC *gomp4*

Thanks for your interest in trying this!

> i compile the gomp branch
> with the r227926, the host and host compiler finish o.k,

How do you configure/build?  I'm asking because:

> I make a example of OpenACC, using jacobbi method. When i compile my file
> with the following flags,
> 
> CC       = /home/eshernan/bin/usr/local/bin/gcc --> is my compiled gcc
> 
>  -fopenacc -lm  -ggdb
> 
> 
> /home/eshernan/bin/usr/local/bin/gcc -I../common  -fopenacc -lm  -ggdb -o
> laplace2d_acc laplace2d.c
> 
> 
> Appear the following errors:
> 
> /tmp/ccBtSMky.s: Assembler messages:
> /tmp/ccBtSMky.s:2: Error: expected quoted string
> /tmp/ccBtSMky.s:2: Error: junk at end of line, first unrecognized character
> is `3'
> /tmp/ccBtSMky.s:3: Error: unknown pseudo-op: `.target'
> /tmp/ccBtSMky.s:4: Error: unknown pseudo-op: `.address_size'
> /tmp/ccBtSMky.s:9: Error: unknown pseudo-op: `.entry'
> /tmp/ccBtSMky.s:11: Error: unknown pseudo-op: `.entry'
> /tmp/ccBtSMky.s:12: Error: junk at end of line, first unrecognized
> character is `{'
> /tmp/ccBtSMky.s:13: Error: unknown pseudo-op: `.reg.u64'

So, you got PTX assembly code in your target (presumably x86_64?)
assembly code -- something is wrong with your GCC build configuration, so
we need to clarify that first.  (I do acknowledge that it's a bit
complicated...)
<https://gcc.gnu.org/wiki/Offloading#How_to_try_offloading_enabled_GCC>.


Grüße,
 Thomas

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux