Sign in
opensecura
/
3p
/
openxla
/
iree
/
cc50107f19976cf2244ee152074ffc0c46587491
/
.
/
samples
/
webgpu
/
hello_world
/
hello_world.mlir
blob: d81674d5ef1368e58b92cabd2797a9908651298e [
file
]
func
.
func
@hello_world
(%
lhs
:
tensor
<
4xf32
>,
%
rhs
:
tensor
<
4xf32
>)
->
tensor
<
4xf32
>
{
%
sum
=
arith
.
addf
%
lhs
,
%
rhs
:
tensor
<
4xf32
>
%
product
=
arith
.
mulf
%
sum
,
%
rhs
:
tensor
<
4xf32
>
return
%
product
:
tensor
<
4xf32
>
}