cm35.patch

Mathieu Lamarre, 2012-12-18 03:17 am

Download (649 Bytes)

 
b/modules/core/src/gpumat.cpp
336 336
            int Cores;
337 337
        } SMtoCores;
338 338

  
339
        SMtoCores gpuArchCoresPerSM[] =  { { 0x10,  8 }, { 0x11,  8 }, { 0x12,  8 }, { 0x13,  8 }, { 0x20, 32 }, { 0x21, 48 }, {0x30, 192}, { -1, -1 }  };
339
        SMtoCores gpuArchCoresPerSM[] =  { { 0x10,  8 }, { 0x11,  8 }, { 0x12,  8 }, { 0x13,  8 }, { 0x20, 32 }, { 0x21, 48 }, {0x30, 192}, {0x35, 192}, { -1, -1 }  };
340 340

  
341 341
        int index = 0;
342 342
        while (gpuArchCoresPerSM[index].SM != -1)