diff options
author | Alex Zinenko <zinenko@google.com> | 2019-12-16 12:12:20 -0800 |
---|---|---|
committer | A. Unique TensorFlower <gardener@tensorflow.org> | 2019-12-16 12:12:48 -0800 |
commit | 6273fa0c6a85985395993e74c92a17709311fb84 (patch) | |
tree | 9e434edcbf72c0fef3080f668390cac3252a9acf /mlir/lib/Dialect/VectorOps/VectorTransforms.cpp | |
parent | ab610e8a9961fb19f396ee4c2065261bd12b0013 (diff) | |
download | bcm5719-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