We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36201c6 commit 6d7ef15Copy full SHA for 6d7ef15
ggml/src/ggml-cuda/common.cuh
@@ -268,7 +268,7 @@ static bool fast_fp16_available(const int cc) {
268
269
// To be used for feature selection of external libraries, e.g. cuBLAS.
270
static bool fast_fp16_hardware_available(const int cc) {
271
- return (GGML_CUDA_CC_IS_NVIDIA(cc) && cc >= GGML_CUDA_CC_PASCAL && cc != 610) || GGML_CUDA_CC_IS_AMD(cc) ||
+ return (GGML_CUDA_CC_IS_NVIDIA(cc) && cc >= GGML_CUDA_CC_PASCAL && cc != 610 && !MMA_DISABLE) || GGML_CUDA_CC_IS_AMD(cc) ||
272
(GGML_CUDA_CC_IS_MTHREADS(cc) && cc >= GGML_CUDA_CC_QY2);
273
}
274
0 commit comments