Error posting -- "Kepler" TARGET and compute capability 3.0

Open discussion for MAGMA

Error posting -- "Kepler" TARGET and compute capability 3.0

Postby spigafi » Mon Dec 03, 2012 10:48 am

Hello,

I am trying to post an issue on the forum but this message "This message was flagged as spam and has been denied." continues to appear. Am I the only one experiencing this?
Last edited by spigafi on Tue Dec 04, 2012 5:15 am, edited 1 time in total.
spigafi
 
Posts: 7
Joined: Sun Sep 11, 2011 7:22 am
Location: Dublin

Re: Error posting

Postby spigafi » Mon Dec 03, 2012 10:50 am

Here the original message I was trying to post directly as new topic...

Dear all,

I've recently discovered that, by specifing "Kepler" as GPU_TARGET, MAGMA compiles itself only for GPUs with compute capability 3.5

Code: Select all
ifeq (${GPU_TARGET}, Tesla)
        NVOPTS += -DGPUSHMEM=130 -arch sm_13 \
                  -gencode arch=compute_13,code=compute_13 \
                  -gencode arch=compute_10,code=compute_10
        OPTS   += -DGPUSHMEM=130
        LDOPTS += -DGPUSHMEM=130
else ifeq (${GPU_TARGET}, Fermi)
        NVOPTS += -DGPUSHMEM=200 -arch sm_20
        OPTS   += -DGPUSHMEM=200
        LDOPTS += -DGPUSHMEM=200
else ifeq (${GPU_TARGET}, Kepler)
        NVOPTS += -DGPUSHMEM=300 -arch sm_35
        OPTS   += -DGPUSHMEM=300
        LDOPTS += -DGPUSHMEM=300
else
$(error GPU_TARGET, currently ${GPU_TARGET}, must be one of Tesla, Fermi, or Kepler. Please edit your make.inc file)
endif


Is there a specific reason why "sm_30" is not considered? Does MAGMA work with GK104? May I eventually suggest to add to nvcc also "-gencode arch=compute_30,code=compute_30" like you did for "Tesla"?
spigafi
 
Posts: 7
Joined: Sun Sep 11, 2011 7:22 am
Location: Dublin

Re: Error posting

Postby mgates3 » Mon Dec 03, 2012 2:14 pm

We recently upgraded a spam filter due to a large amount of spam coming through the forum. It looks like it is overly aggressive, and we are looking into why that is. Our apologies.
-mark
mgates3
 
Posts: 388
Joined: Fri Jan 06, 2012 2:13 pm

Re: Error posting

Postby spigafi » Tue Dec 04, 2012 5:14 am

mgates3 wrote:We recently upgraded a spam filter due to a large amount of spam coming through the forum. It looks like it is overly aggressive, and we are looking into why that is. Our apologies.
-mark


No problem :-) I changed Makefile.internal in this way

Code: Select all
ifeq (${GPU_TARGET}, Tesla)
   NVOPTS += -DGPUSHMEM=130 -arch sm_13 \
             -gencode arch=compute_13,code=compute_13 \
             -gencode arch=compute_10,code=compute_10
   OPTS   += -DGPUSHMEM=130
   LDOPTS += -DGPUSHMEM=130
else ifeq (${GPU_TARGET}, Fermi)
   NVOPTS += -DGPUSHMEM=200 -gencode arch=compute_20,code=\"sm_20,sm_21\"
   OPTS   += -DGPUSHMEM=200
   LDOPTS += -DGPUSHMEM=200
else ifeq (${GPU_TARGET}, Kepler)
   NVOPTS += -DGPUSHMEM=300 -gencode arch=compute_30,code=\"sm_30,sm_35\"
   OPTS   += -DGPUSHMEM=300
   LDOPTS += -DGPUSHMEM=300
else
$(error GPU_TARGET, currently ${GPU_TARGET}, must be one of Tesla, Fermi, or Kepler. Please edit your make.inc file)
endif


MAGMA compiles and it works for me.
spigafi
 
Posts: 7
Joined: Sun Sep 11, 2011 7:22 am
Location: Dublin


Return to User discussion

Who is online

Users browsing this forum: Google [Bot] and 1 guest