This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GCC OpenAcc executables problems


On Thu, 17 Dec 2015, Esteban HernÃndez wrote:

> Dear,
> 
> I compile gcc 6  r231616,  for offloading and host,
> 
> 
> When i compile a simple example with -fopenacc -foffload=nvptx-none
> 
> The compilation process finish o.k, but when i Run the code in a
> machine with cuda device, obtain the following problem
> 
> 
> libgomp: cuModuleLoadData error: device kernel image is invalid

Are you perhaps using new Maxwell-generation GPU for testing (Geforce 750,
950+)?  There's odd code in libgomp plugin that insists on producing binary
code for Kepler-class hardware only.

Nathan, is that a mistake, or was there some reason to fix JIT target? We are
removing that code on gomp-nvptx branch:
https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=1099ad42d145faf428053018d02b26678c47adce

Alexander

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]