Skip to content

Commit

Permalink
Remove dead code in LinalgToSPIRV (#5281)
Browse files Browse the repository at this point in the history
Remove code from old experiments that is no longer relevant.
  • Loading branch information
ThomasRaoux authored Apr 1, 2021
1 parent 8863aa1 commit e56db9a
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 436 deletions.
34 changes: 0 additions & 34 deletions experimental/ModelBuilder/test/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ iree_lit_test_suite(
"test-simple-jit-vulkan",
"test-simple-mlir",
"test-vector-transfers-jit",
"test-vec-to-gpu",
# FileChecker.
"//iree/tools:IreeFileCheck",
],
Expand Down Expand Up @@ -117,39 +116,6 @@ cc_binary(
],
)

cc_binary(
name = "test-vec-to-gpu",
srcs = ["TestVectorToGPU.cpp"],
tags = [
"noga",
],
deps = [
"//experimental/ModelBuilder",
"//experimental/ModelBuilder:ModelRunner",
"//experimental/ModelBuilder:VulkanLaunchWrapper",
"@llvm-project//mlir:SPIRVTransforms",
"//iree/compiler/Conversion/CodegenUtils",
"//iree/compiler/Conversion/LinalgToSPIRV",
"@llvm-project//llvm:Support",
"@llvm-project//mlir:GPUToVulkanTransforms",
"@llvm-project//mlir:GPUTransforms",
"@llvm-project//mlir:IR",
"@llvm-project//mlir:LLVMTransforms",
"@llvm-project//mlir:LinalgOps",
"@llvm-project//mlir:LinalgToLLVM",
"@llvm-project//mlir:LinalgTransforms",
"@llvm-project//mlir:Parser",
"@llvm-project//mlir:Pass",
"@llvm-project//mlir:SPIRVDialect",
"@llvm-project//mlir:StandardToSPIRV",
"@llvm-project//mlir:TransformUtils",
"@llvm-project//mlir:VectorOps",
"@llvm-project//mlir:mlir_c_runner_utils",
# mlir_runner_utils with iostream needed for printMemRef atm
"@llvm-project//mlir:mlir_runner_utils",
],
)

cc_binary(
name = "bench-matmul-gpu",
srcs = ["BenchMatMulVectorGPU.cpp"],
Expand Down
33 changes: 0 additions & 33 deletions experimental/ModelBuilder/test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ iree_lit_test_suite(
test-simple-jit
test-simple-jit-vulkan
test-simple-mlir
test-vec-to-gpu
test-vector-transfers-jit
iree::tools::IreeFileCheck
)
Expand Down Expand Up @@ -115,38 +114,6 @@ iree_cc_binary(
vulkan-runtime-wrappers
)

iree_cc_binary(
NAME
test-vec-to-gpu
OUT
test-vec-to-gpu
SRCS
"TestVectorToGPU.cpp"
DEPS
LLVMSupport
MLIRExecutionEngine
MLIRGPU
MLIRGPUToVulkanTransforms
MLIRIR
MLIRLinalg
MLIRLinalgToLLVM
MLIRLinalgTransforms
MLIRParser
MLIRPass
MLIRSPIRV
MLIRStandardToLLVM
MLIRStandardToSPIRV
MLIRTransformUtils
MLIRVector
experimental::ModelBuilder
experimental::ModelBuilder::ModelRunner
experimental::ModelBuilder::VulkanLaunchWrapper
iree::compiler::Conversion::CodegenUtils
iree::compiler::Conversion::LinalgToSPIRV
iree::tools::init_mlir_passes_and_dialects
vulkan-runtime-wrappers
)

iree_cc_binary(
NAME
bench-matmul-gpu
Expand Down
170 changes: 0 additions & 170 deletions experimental/ModelBuilder/test/TestVectorToGPU.cpp

This file was deleted.

Loading

0 comments on commit e56db9a

Please sign in to comment.