File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ static void getDeviceAttribute(DeviceAttribute& a, int device = 0)
101
101
bool found_cc = true ;
102
102
103
103
// Maximum number of resident blocks per multiprocessor
104
- if (a.cc > 90 )
104
+ if (a.cc > 120 )
105
105
found_cc = false ;
106
106
else if (a.cc >= 90 )
107
107
a.max_blocks_per_multiprocessor = 32 ;
@@ -122,16 +122,17 @@ static void getDeviceAttribute(DeviceAttribute& a, int device = 0)
122
122
123
123
// Number of CUDA cores (FP32) per multiprocessor, not tabulated;
124
124
// documented in "Compute Capability - architecture"
125
+ // 12.0: 128
125
126
// 9.0: 128
126
127
// 8.6, 8.7, 8.9: 128
127
128
// 7.0 7.2 7.5 8.0: 64
128
129
// 6.1 6.2: 128
129
130
// 6.0: 64
130
131
// 5.0 5.2: 128
131
132
// 3.0 3.5 3.7: 192
132
- if (a.cc > 90 )
133
+ if (a.cc > 120 )
133
134
found_cc = false ;
134
- else if (a.cc >= 90 )
135
+ else if (a.cc >= 86 )
135
136
a.cores_per_multiprocessor = 128 ;
136
137
else if (a.cc >= 80 )
137
138
a.cores_per_multiprocessor = 64 ;
You can’t perform that action at this time.
0 commit comments