Skip to content

Commit 70774e1

Browse files
Update ggml/src/ggml-cuda/common.cuh
Co-authored-by: Johannes Gäßler <[email protected]>
1 parent 66f4c93 commit 70774e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ggml/src/ggml-cuda/common.cuh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ static bool fp16_mma_hardware_available(const int cc) {
263263
}
264264

265265
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;
266+
return (GGML_CUDA_CC_IS_NVIDIA(cc) && cc >= GGML_CUDA_CC_AMPERE) || GGML_CUDA_CC_IS_CDNA(cc) || cc >= GGML_CUDA_CC_RDNA3;
267267
}
268268

269269
static bool fp32_mma_hardware_available(const int cc) {

0 commit comments

Comments
 (0)