Difference for src/DeviceCUDA.C from version 1.5 to 1.6

version 1.5version 1.6
Line 323
Line 323
       cudaDie("device not of compute capability 3.0 or higher");       cudaDie("device not of compute capability 3.0 or higher");
     if ( ! deviceProp.canMapHostMemory )     if ( ! deviceProp.canMapHostMemory )
       cudaDie("device cannot map host memory");       cudaDie("device cannot map host memory");
   #ifndef DISABLE_CUDA_TEXTURE_OBJECTS 
     if (deviceProp.major < 3) 
       cudaDie("CUDA texture objects require compute capability 3.0 or higher.\nUse DISABLE_CUDA_TEXTURE_OBJECTS to disable texture objects."); 
   #endif 
     extern int read_CUDA_ARCH(); 
     cuda_arch = read_CUDA_ARCH(); 
   }   }
 } }
  


Legend:
Removed in v.1.5 
changed lines
 Added in v.1.6



Made by using version 1.53 of cvs2html