diff --git a/onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_gemm_kernels_fp16_fp16.cu b/onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_gemm_kernels_fp16_fp16.cu index b04ae680f5d7b..f0ea8145c1c63 100644 --- a/onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_gemm_kernels_fp16_fp16.cu +++ b/onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_gemm_kernels_fp16_fp16.cu @@ -17,8 +17,11 @@ #pragma warning(push) #pragma warning(disable : 4100) #pragma warning(disable : 4244) +#pragma warning(disable : 4200) #endif + #include "moe_gemm_kernels_template.h" + #if defined(_MSC_VER) #pragma warning(pop) #endif diff --git a/onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_gemm_kernels_fp16_uint4.cu b/onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_gemm_kernels_fp16_uint4.cu index 189c300bd5749..c31d15f77c7d4 100644 --- a/onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_gemm_kernels_fp16_uint4.cu +++ b/onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_gemm_kernels_fp16_uint4.cu @@ -17,8 +17,11 @@ #pragma warning(push) #pragma warning(disable : 4100) #pragma warning(disable : 4244) +#pragma warning(disable : 4200) #endif + #include "moe_gemm_kernels_template.h" + #if defined(_MSC_VER) #pragma warning(pop) #endif diff --git a/onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_gemm_kernels_fp16_uint8.cu b/onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_gemm_kernels_fp16_uint8.cu index df828d0e04e4e..0a34b99a9bd31 100644 --- a/onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_gemm_kernels_fp16_uint8.cu +++ b/onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_gemm_kernels_fp16_uint8.cu @@ -17,8 +17,11 @@ #pragma warning(push) #pragma warning(disable : 4100) #pragma warning(disable : 4244) +#pragma warning(disable : 4200) #endif + #include "moe_gemm_kernels_template.h" + #if defined(_MSC_VER) #pragma warning(pop) #endif diff --git a/onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_gemm_kernels_fp32_fp32.cu b/onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_gemm_kernels_fp32_fp32.cu index d31c30b62525b..2dead2b064492 100644 --- a/onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_gemm_kernels_fp32_fp32.cu +++ b/onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_gemm_kernels_fp32_fp32.cu @@ -17,6 +17,7 @@ #pragma warning(push) #pragma warning(disable : 4100) #pragma warning(disable : 4244) +#pragma warning(disable : 4200) #endif #include "moe_gemm_kernels_template.h"