Skip to content

Commit d9d89b4

Browse files
committed
cuda : fix version required for __nv_cvt_e8m0_to_bf16raw
1 parent b236c90 commit d9d89b4

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
@@ -551,7 +551,7 @@ static __device__ __forceinline__ int ggml_cuda_dp4a(const int a, const int b, i
551551
}
552552

553553
static __device__ __forceinline__ float ggml_cuda_e8m0_to_fp32(uint8_t x) {
554-
#if CUDART_VERSION >= 12050
554+
#if CUDART_VERSION >= 12080
555555
const nv_bfloat16 e = __nv_cvt_e8m0_to_bf16raw(x);
556556
return (float) e;
557557
#else

0 commit comments

Comments
 (0)