         // https://www.nvidia.com/content/dam/en-zz/Solutions/Data-Center/tesla-product-literature/NVIDIA-Kepler-GK110-GK210-Architecture-Whitepaper.pdf
         // "While the Maxwell architecture performs double precision calculations at rate of 1/32 that of single precision calculations..."
         case 5:
-            r.fp64 =   4;
-            r.fp32 = 128;
+            switch (minor) {
+                // Quadro M
+                case 0:
+                // Quadro etc
+                case 1:
+                // Jetson Nano
+                case 2:
+                    r.fp64 =   4;
+                    r.fp32 = 128;
+                    break;
+            }
             break;
         // Pascal
         // GP100 = 6.0 https://images.nvidia.com/content/pdf/tesla/whitepaper/pascal-architecture-whitepaper.pdf Table 1

{
    short fp64;
    short fp32;
    short fp16;
    short bf16;
} cuda_flops_per_sm_s;

cuda_flops_per_sm_s cuda_flops_per_sm(int major, int minor)
{
    cuda_flops_per_sm_s r = {0,0,0,0};

    switch (major) {
        // Fermi
        // https://www.nvidia.com/content/PDF/fermi_white_papers/NVIDIA_Fermi_Compute_Architecture_Whitepaper.pdf

                    break;
                // GP102, GP104
                case 1:
                // Jetson TX2
                case 2:
                    r.fp64 =   4;
                    r.fp32 = 128;
