Re: [gomp4] Basic -misa support for nvptx (was: How to use old GPU (Fermi) in gcc with OpenACC?)

2015-06-18 Thread Satoshi_OHSHIMA
Thanks Thomas, and I'm sorry I can't try your code until now because I have
some other works in this month.

I got the code which you committed and tried to build, and I succeed to
build it.
Then, how to got object code with sm_35?
Do I need to add some compile options (or something) when I compile my
target code with OpenACC pragma?
(in other words... How to change the target "sm"? Can I change target "sm"?)




--
View this message in context: 
http://gcc.1065356.n5.nabble.com/How-to-use-old-GPU-Fermi-in-gcc-with-OpenACC-tp1147463p1160093.html
Sent from the gcc - Dev mailing list archive at Nabble.com.


How to use old GPU (Fermi) in gcc with OpenACC?

2015-05-09 Thread Satoshi_OHSHIMA
Hi,

I'm trying to use and evaluate gcc with OpenACC on some NVIDIA GPUs.
I succeeded to build gcc with OpenACC by using
http://scelementary.com/2015/04/25/openacc-in-gcc.html as a reference.
Then, I succeeded to use Kepler GPU.
However, I tried to use it on old GPUs (Fermi), and I failed to execute it.
I noticed that there are some "sm_30" and "COMPUTE_30" keywords in gcc and
nvptx sources.
Then, I modified them to "sm_20" and "COMPUTE_20", but I failed to execute
my programs, too.
Are there any developers who can make gcc with OpenACC to support other than
"sm_30"?

thanks




--
View this message in context: 
http://gcc.1065356.n5.nabble.com/How-to-use-old-GPU-Fermi-in-gcc-with-OpenACC-tp1147463.html
Sent from the gcc - Dev mailing list archive at Nabble.com.