// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #include "core/providers/webgpu/shader_helper.h" #include "core/providers/webgpu/webgpu_supported_types.h" #include "core/providers/webgpu/math/unary_elementwise_ops.h" // contained Gelu definition #include "contrib_ops/webgpu/webgpu_contrib_kernels.h" namespace onnxruntime { namespace contrib { namespace webgpu { using namespace onnxruntime::webgpu; using onnxruntime::webgpu::ComputeContext; ONNX_OPERATOR_KERNEL_EX( QuickGelu, kMSDomain, 1, kWebGpuExecutionProvider, (*KernelDefBuilder::Create()) .TypeConstraint("T", WebGpuSupportedFloatTypes()), QuickGelu); } // namespace webgpu } // namespace contrib } // namespace onnxruntime