diff --git a/mlir/lib/ExecutionEngine/CudaRuntimeWrappers.cpp b/mlir/lib/ExecutionEngine/CudaRuntimeWrappers.cpp --- a/mlir/lib/ExecutionEngine/CudaRuntimeWrappers.cpp +++ b/mlir/lib/ExecutionEngine/CudaRuntimeWrappers.cpp @@ -232,10 +232,10 @@ // Some macro magic to get float/double alpha and beta on host. #define ALPHABETA(dtp, alpha, beta) \ - __nv_bfloat16(alpha##bf16) = 1.0f; \ - __nv_bfloat16(beta##bf16) = 1.0f; \ - __half(alpha##f16) = 1.0f; \ - __half(beta##f16) = 1.0f; \ + __nv_bfloat16(alpha##16bf) = 1.0f; \ + __nv_bfloat16(beta##16bf) = 1.0f; \ + __half(alpha##16f) = 1.0f; \ + __half(beta##16f) = 1.0f; \ float(alpha##f) = 1.0f; \ float(beta##f) = 1.0f; \ double(alpha##d) = 1.0; \