[petsc-dev] CUDA sm_13 for double
    Lisandro Dalcin 
    dalcinl at gmail.com
       
    Tue Jan 11 16:55:22 CST 2011
    
    
  
I think the two lines below (config/PETSc/packages/cuda.py ) are wrong:
      if self.scalartypes.precision == 'double':
        self.setCompilers.addCompilerFlag('-arch sm_13')
What if your GPU is sm_20?
-- 
Lisandro Dalcin
---------------
CIMEC (INTEC/CONICET-UNL)
Predio CONICET-Santa Fe
Colectora RN 168 Km 472, Paraje El Pozo
Tel: +54-342-4511594 (ext 1011)
Tel/Fax: +54-342-4511169
    
    
More information about the petsc-dev
mailing list