summaryrefslogtreecommitdiffstats
path: root/mlir/lib/Dialect/VectorOps/VectorTransforms.cpp
diff options
context:
space:
mode:
authorAlex Zinenko <zinenko@google.com>2019-12-16 12:12:20 -0800
committerA. Unique TensorFlower <gardener@tensorflow.org>2019-12-16 12:12:48 -0800
commit6273fa0c6a85985395993e74c92a17709311fb84 (patch)
tree9e434edcbf72c0fef3080f668390cac3252a9acf /mlir/lib/Dialect/VectorOps/VectorTransforms.cpp
parentab610e8a9961fb19f396ee4c2065261bd12b0013 (diff)
downloadbcm5719-llvm-6273fa0c6a85985395993e74c92a17709311fb84.tar.gz
bcm5719-llvm-6273fa0c6a85985395993e74c92a17709311fb84.zip
Plug gpu.func into the GPU lowering pipelines
This updates the lowering pipelines from the GPU dialect to lower-level dialects (NVVM, SPIRV) to use the recently introduced gpu.func operation instead of a standard function annotated with an attribute. In particular, the kernel outlining is updated to produce gpu.func instead of std.func and the individual conversions are updated to consume gpu.funcs and disallow standard funcs after legalization, if necessary. The attribute "gpu.kernel" is preserved in the generic syntax, but can also be used with the custom syntax on gpu.funcs. The special kind of function for GPU allows one to use additional features such as memory attribution. PiperOrigin-RevId: 285822272
Diffstat (limited to 'mlir/lib/Dialect/VectorOps/VectorTransforms.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud