Yes, this code which I guess never got hit before 

cudaDeviceProp dp;                cudaGetDeviceProperties(&dp, 0);              
  printf("%d\n",10*dp.major+dp.minor);                return(0);;

is using the wrong property for the generation. 

  Back to the CUDA documentation for the correct information. 



> On May 26, 2021, at 3:47 PM, Jacob Faibussowitsch <[email protected]> wrote:
> 
> 1120 sounds suspiciously like some CUDA version rather than architecture or 
> compute capability…
> 
> Best regards,
> 
> Jacob Faibussowitsch
> (Jacob Fai - booss - oh - vitch)
> Cell: +1 (312) 694-3391
> 
>> On May 26, 2021, at 22:29, Mark Adams <[email protected]> wrote:
>> 
>> I started to get this error today on Cori. 
>> 
>> nvcc fatal   : Unsupported gpu architecture 'compute_1120'
>> 
>> I am pretty sure I had a clean build but I can redo it if you don't know 
>> where this is from.
>> 
>> Thanks,
>> Mark
>> <configure.log>

Reply via email to