Commit 50962503 authored by Jakub Klinkovský's avatar Jakub Klinkovský
Browse files

Implemented getCudaCoresPerMultiprocessor for the Pascal architecture

parent 7dcf1383
Loading
Loading
Loading
Loading
+16 −7
Original line number Diff line number Diff line
@@ -146,6 +146,15 @@ getCudaCoresPerMultiprocessors( int deviceNum )
            return 192;
        case 5: // Maxwell generation -- GM10x, GM20x classes
            return 128;
        case 6: // Pascal generation
            switch( minor )
            {
                case 0:  // GP100 class
                    return 64;
                case 1:  // GP10x classes
                case 2:
                    return 128;
            }
        default:
            return -1;
    }