Skip to content

Commit

Permalink
Set enable-vc-intrinsic=true for imex-convert-gpu-to-spirv in pass
Browse files Browse the repository at this point in the history
pipeline files missing a lowering mode.
  • Loading branch information
silee2 committed Feb 1, 2024
1 parent 15ebfb9 commit e50af12
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion test/Conversion/XeGPUToSPIRV/xegpu-to-llvm.pp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
builtin.module(
imex-convert-gpu-to-spirv
imex-convert-gpu-to-spirv{enable-vc-intrinsic=true}
spirv.module(spirv-lower-abi-attrs
spirv-update-vce)
func.func(llvm-request-c-wrappers)
Expand Down
2 changes: 1 addition & 1 deletion test/Gen/NDArray/ndarray-gpu.pp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
gpu.module(set-spirv-abi-attrs{client-api=opencl})
canonicalize
fold-memref-alias-ops
imex-convert-gpu-to-spirv
imex-convert-gpu-to-spirv{enable-vc-intrinsic=true}
spirv.module(spirv-lower-abi-attrs
spirv-update-vce)
// func.func(llvm-request-c-wrappers)
Expand Down
2 changes: 1 addition & 1 deletion test/Gen/PlaidML/linalg-to-llvm.pp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
canonicalize
fold-memref-alias-ops
bf16-to-gpu // do not call canonicalize before imex-convert-gpu-to-spirv
imex-convert-gpu-to-spirv
imex-convert-gpu-to-spirv{enable-vc-intrinsic=true}
spirv.module(spirv-lower-abi-attrs
spirv-update-vce)
func.func(llvm-request-c-wrappers)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
gpu.module(set-spirv-abi-attrs{client-api=opencl})
canonicalize
fold-memref-alias-ops
imex-convert-gpu-to-spirv
imex-convert-gpu-to-spirv{enable-vc-intrinsic=true}
spirv.module(spirv-lower-abi-attrs
spirv-update-vce)
func.func(llvm-request-c-wrappers)
Expand Down
2 changes: 1 addition & 1 deletion test/Jax/gordon/linalg-to-llvm.pp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
gpu.module(set-spirv-abi-attrs{client-api=opencl})
canonicalize
fold-memref-alias-ops
imex-convert-gpu-to-spirv
imex-convert-gpu-to-spirv{enable-vc-intrinsic=true}
spirv.module(spirv-lower-abi-attrs
spirv-update-vce)
func.func(llvm-request-c-wrappers)
Expand Down
2 changes: 1 addition & 1 deletion test/Jax/janet/linalg-to-llvm.pp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
gpu.module(set-spirv-abi-attrs{client-api=opencl})
canonicalize
fold-memref-alias-ops
imex-convert-gpu-to-spirv
imex-convert-gpu-to-spirv{enable-vc-intrinsic=true}
spirv.module(spirv-lower-abi-attrs
spirv-update-vce)
func.func(llvm-request-c-wrappers)
Expand Down
2 changes: 1 addition & 1 deletion test/Jax/jax_qmc/linalg-to-llvm.pp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
gpu.module(set-spirv-abi-attrs{client-api=opencl})
canonicalize
fold-memref-alias-ops
imex-convert-gpu-to-spirv
imex-convert-gpu-to-spirv{enable-vc-intrinsic=true}
spirv.module(spirv-lower-abi-attrs
spirv-update-vce)
func.func(llvm-request-c-wrappers)
Expand Down
2 changes: 1 addition & 1 deletion test/Jax/qoc/linalg-to-llvm.pp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
gpu.module(set-spirv-abi-attrs{client-api=opencl})
canonicalize
fold-memref-alias-ops
imex-convert-gpu-to-spirv
imex-convert-gpu-to-spirv{enable-vc-intrinsic=true}
spirv.module(spirv-lower-abi-attrs
spirv-update-vce)
func.func(llvm-request-c-wrappers)
Expand Down
2 changes: 1 addition & 1 deletion test/Models/Mobilenet-v3/linalg-to-llvm.pp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
gpu.module(set-spirv-abi-attrs{client-api=opencl})
canonicalize
fold-memref-alias-ops
imex-convert-gpu-to-spirv
imex-convert-gpu-to-spirv{enable-vc-intrinsic=true}
spirv.module(spirv-lower-abi-attrs
spirv-update-vce)
func.func(llvm-request-c-wrappers)
Expand Down
2 changes: 1 addition & 1 deletion test/Models/Resnet-50/linalg-to-llvm.pp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
gpu.module(set-spirv-abi-attrs{client-api=opencl})
canonicalize
fold-memref-alias-ops
imex-convert-gpu-to-spirv
imex-convert-gpu-to-spirv{enable-vc-intrinsic=true}
spirv.module(spirv-lower-abi-attrs
spirv-update-vce)
func.func(llvm-request-c-wrappers)
Expand Down
2 changes: 1 addition & 1 deletion test/PlaidML/linalg-to-llvm-caching.pp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
gpu.module(set-spirv-abi-attrs{client-api=opencl})
canonicalize
fold-memref-alias-ops
imex-convert-gpu-to-spirv
imex-convert-gpu-to-spirv{enable-vc-intrinsic=true}
spirv.module(spirv-lower-abi-attrs
spirv-update-vce)
func.func(llvm-request-c-wrappers)
Expand Down
2 changes: 1 addition & 1 deletion test/PlaidML/linalg-to-llvm.pp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
gpu.module(set-spirv-abi-attrs{client-api=opencl})
canonicalize
fold-memref-alias-ops
imex-convert-gpu-to-spirv
imex-convert-gpu-to-spirv{enable-vc-intrinsic=true}
spirv.module(spirv-lower-abi-attrs
spirv-update-vce)
func.func(llvm-request-c-wrappers)
Expand Down
2 changes: 1 addition & 1 deletion test/imex-runner/ndarray-gpu.pp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
gpu.module(set-spirv-abi-attrs{client-api=opencl})
canonicalize
fold-memref-alias-ops
imex-convert-gpu-to-spirv
imex-convert-gpu-to-spirv{enable-vc-intrinsic=true}
spirv.module(spirv-lower-abi-attrs
spirv-update-vce)
// func.func(llvm-request-c-wrappers)
Expand Down

0 comments on commit e50af12

Please sign in to comment.