OSDN Git Service

[MLIR] Use nested symbol to identify kernel in `LaunchFuncOp`.
authorFrederik Gossen <frgossen@google.com>
Tue, 21 Apr 2020 10:16:41 +0000 (10:16 +0000)
committerFrederik Gossen <frgossen@google.com>
Wed, 22 Apr 2020 07:44:29 +0000 (07:44 +0000)
commit0372db05bb1552c2b39fc735f949977e0a863a25
tree6dd4032410feaee020afe928aee75e998eb66905
parent648fc950833422f863847d9dfd45a4625084319d
[MLIR] Use nested symbol to identify kernel in `LaunchFuncOp`.

Summary:
Use a nested symbol to identify the kernel to be invoked by a `LaunchFuncOp` in the GPU dialect.
This replaces the two attributes that were used to identify the kernel module and the kernel within seperately.

Differential Revision: https://reviews.llvm.org/D78551
19 files changed:
mlir/include/mlir/Dialect/GPU/GPUOps.td
mlir/include/mlir/IR/SymbolTable.h
mlir/lib/Conversion/GPUToCUDA/ConvertLaunchFuncToCudaCalls.cpp
mlir/lib/Conversion/GPUToVulkan/ConvertGPULaunchFuncToVulkanLaunchFunc.cpp
mlir/lib/Dialect/GPU/IR/GPUDialect.cpp
mlir/test/Conversion/GPUToCUDA/lower-launch-func-to-cuda.mlir
mlir/test/Conversion/GPUToSPIRV/builtins.mlir
mlir/test/Conversion/GPUToSPIRV/if.mlir
mlir/test/Conversion/GPUToSPIRV/load-store.mlir
mlir/test/Conversion/GPUToSPIRV/loop.mlir
mlir/test/Conversion/GPUToSPIRV/simple.mlir
mlir/test/Conversion/GPUToVulkan/lower-gpu-launch-vulkan-launch.mlir
mlir/test/Dialect/GPU/invalid.mlir
mlir/test/Dialect/GPU/ops.mlir
mlir/test/Dialect/GPU/outlining.mlir
mlir/test/mlir-vulkan-runner/addf.mlir
mlir/test/mlir-vulkan-runner/mulf.mlir
mlir/test/mlir-vulkan-runner/subf.mlir
mlir/test/mlir-vulkan-runner/time.mlir