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 66f4c93 commit 70774e1Copy full SHA for 70774e1
ggml/src/ggml-cuda/common.cuh
@@ -263,7 +263,7 @@ static bool fp16_mma_hardware_available(const int cc) {
263
}
264
265
static bool bf16_mma_hardware_available(const int cc) {
266
- return GGML_CUDA_CC_IS_NVIDIA(cc) && cc >= GGML_CUDA_CC_AMPERE || GGML_CUDA_CC_IS_CDNA(cc) || cc >= GGML_CUDA_CC_RDNA3;
+ return (GGML_CUDA_CC_IS_NVIDIA(cc) && cc >= GGML_CUDA_CC_AMPERE) || GGML_CUDA_CC_IS_CDNA(cc) || cc >= GGML_CUDA_CC_RDNA3;
267
268
269
static bool fp32_mma_hardware_available(const int cc) {
0 commit comments