This PR improves the documentation for the `gpu-lower-to-nvvm-pipeline` (as it was remaning item for #75775) - Changes pipeline `gpu-lower-to-nvvm` -> `gpu-lower-to-nvvm-pipeline` - Adds a section in GPU Dialect in website. It clarifies the pipeline's functionality in lowering primary dialects to NVVM targets.
14 lines
322 B
MLIR
14 lines
322 B
MLIR
// RUN: mlir-opt %s \
|
|
// RUN: | mlir-opt -gpu-lower-to-nvvm-pipeline -debug-only=serialize-to-isa \
|
|
// RUN: 2>&1 | FileCheck %s
|
|
|
|
// CHECK: Generated by LLVM NVPTX Back-End
|
|
// CHECK: .visible .func kernel_a()
|
|
// CHECK: ret;
|
|
gpu.module @bar {
|
|
llvm.func @kernel_a()
|
|
attributes { gpu.kernel } {
|
|
llvm.return
|
|
}
|
|
}
|