Skip to content

Commit e7e3c45

Browse files
authored
[mlir] Remove mlir-vulkan-runner and GPUToVulkan conversion passes (#123750)
This follows up on 733be4e, which made mlir-vulkan-runner and its associated passes redundant, and completes the main goal of #73457. The mlir-vulkan-runner tests become part of the integration test suite, and the Vulkan runner runtime components become part of ExecutionEngine, just as was done when removing other target-specific runners.
1 parent 5deb4ef commit e7e3c45

33 files changed

+95
-1158
lines changed

mlir/include/mlir/Conversion/GPUToVulkan/ConvertGPUToVulkanPass.h

Lines changed: 0 additions & 36 deletions
This file was deleted.

mlir/include/mlir/Conversion/Passes.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@
3939
#include "mlir/Conversion/GPUToNVVM/GPUToNVVMPass.h"
4040
#include "mlir/Conversion/GPUToROCDL/GPUToROCDLPass.h"
4141
#include "mlir/Conversion/GPUToSPIRV/GPUToSPIRVPass.h"
42-
#include "mlir/Conversion/GPUToVulkan/ConvertGPUToVulkanPass.h"
4342
#include "mlir/Conversion/IndexToLLVM/IndexToLLVM.h"
4443
#include "mlir/Conversion/IndexToSPIRV/IndexToSPIRV.h"
4544
#include "mlir/Conversion/LinalgToStandard/LinalgToStandard.h"

mlir/include/mlir/Conversion/Passes.td

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -654,31 +654,6 @@ def ConvertGPUToSPIRV : Pass<"convert-gpu-to-spirv", "ModuleOp"> {
654654
];
655655
}
656656

657-
//===----------------------------------------------------------------------===//
658-
// GPUToVulkan
659-
//===----------------------------------------------------------------------===//
660-
661-
def ConvertGpuLaunchFuncToVulkanLaunchFunc
662-
: Pass<"convert-gpu-launch-to-vulkan-launch", "ModuleOp"> {
663-
let summary = "Convert gpu.launch_func to vulkanLaunch external call";
664-
let description = [{
665-
This pass is only intended for the mlir-vulkan-runner.
666-
}];
667-
let constructor = "mlir::createConvertGpuLaunchFuncToVulkanLaunchFuncPass()";
668-
let dependentDialects = ["spirv::SPIRVDialect"];
669-
}
670-
671-
def ConvertVulkanLaunchFuncToVulkanCallsPass
672-
: Pass<"launch-func-to-vulkan", "ModuleOp"> {
673-
let summary = "Convert vulkanLaunch external call to Vulkan runtime external "
674-
"calls";
675-
let description = [{
676-
This pass is only intended for the mlir-vulkan-runner.
677-
}];
678-
679-
let dependentDialects = ["LLVM::LLVMDialect"];
680-
}
681-
682657
//===----------------------------------------------------------------------===//
683658
// ConvertIndexToLLVMPass
684659
//===----------------------------------------------------------------------===//

mlir/lib/Conversion/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ add_subdirectory(GPUToLLVMSPV)
2828
add_subdirectory(GPUToNVVM)
2929
add_subdirectory(GPUToROCDL)
3030
add_subdirectory(GPUToSPIRV)
31-
add_subdirectory(GPUToVulkan)
3231
add_subdirectory(IndexToLLVM)
3332
add_subdirectory(IndexToSPIRV)
3433
add_subdirectory(LinalgToStandard)

mlir/lib/Conversion/GPUToVulkan/CMakeLists.txt

Lines changed: 0 additions & 19 deletions
This file was deleted.

mlir/lib/Conversion/GPUToVulkan/ConvertGPULaunchFuncToVulkanLaunchFunc.cpp

Lines changed: 0 additions & 219 deletions
This file was deleted.

0 commit comments

Comments
 (0)