test: cover GPU family and support classification (#880)

This commit is contained in:
Resul Övür authored and GitHub committed 2026-10-15 09:19:40 -04:00
1 parent e3c197d94e
commit 091f5e45f8
2 files changed
+81 -1

No files matched your search

@@ -81,7 +81,7 @@ data class GpuInfo(
)
}
private fun threeDigits(text: String): Int = Regex("""(\d{3})""").find(text)?.groupValues?.get(1)?.toIntOrNull() ?: 0
internal fun threeDigits(text: String): Int = Regex("""(\d{3})""").find(text)?.groupValues?.get(1)?.toIntOrNull() ?: 0
private val PLATFORMS = mapOf(
"msmnile" to 640, "kona" to 650, "lahaina" to 660, "taro" to 730, "cape" to 730,