Skip to content

Commit 2fdef19

Browse files
committed
try to avoid fp16 for anything below cc 610
1 parent b80b784 commit 2fdef19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ggml/src/ggml-cuda/common.cuh

+1-1
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ static bool fp16_available(const int cc) {
218218
}
219219

220220
static bool fast_fp16_available(const int cc) {
221-
return fp16_available(cc) && cc != 610;
221+
return fp16_available(cc) && cc > 610;
222222
}
223223

224224
// To be used for feature selection of external libraries, e.g. cuBLAS.

0 commit comments

Comments
 (0)