(device_index: int)
| 209 | |
| 210 | @lru_cache(maxsize=1) |
| 211 | def num_sms_cached(device_index: int) -> int: |
| 212 | return torch.cuda.get_device_properties(device_index).multi_processor_count |
| 213 | |
| 214 | |
| 215 | MIN_BLOCK_SIZE_V = 128 |
no outgoing calls
no test coverage detected