updated printCudaDeviceInfo to support Kepler
authorAnatoly Baksheev <no@email>
Wed, 2 May 2012 21:55:38 +0000 (21:55 +0000)
committerAnatoly Baksheev <no@email>
Wed, 2 May 2012 21:55:38 +0000 (21:55 +0000)
modules/core/src/gpumat.cpp

index 9b96d00..bf128fb 100644 (file)
@@ -337,7 +337,7 @@ namespace
             int Cores;\r
         } SMtoCores;\r
 \r
-        SMtoCores gpuArchCoresPerSM[] =  { { 0x10,  8 }, { 0x11,  8 }, { 0x12,  8 }, { 0x13,  8 }, { 0x20, 32 }, { 0x21, 48 }, { -1, -1 } };\r
+        SMtoCores gpuArchCoresPerSM[] =  { { 0x10,  8 }, { 0x11,  8 }, { 0x12,  8 }, { 0x13,  8 }, { 0x20, 32 }, { 0x21, 48 }, {0x30, 192}, { -1, -1 }  };\r
 \r
         int index = 0;\r
         while (gpuArchCoresPerSM[index].SM != -1)\r