Verify that kernel functions referenced by gpu.launch_func have a gpu.kernel...
authorThomas Joerg <tjoerg@google.com>
Fri, 10 May 2019 12:32:57 +0000 (05:32 -0700)
committerMehdi Amini <joker.eph@gmail.com>
Sat, 11 May 2019 02:28:04 +0000 (19:28 -0700)
commit43547ccfac8e608021848c3ed91492923d5f45c3
tree2ef54f23c67568cdac790f17295114ec25086df6
parentdf0296742b7fa82bb3285f2a4eac99d20ac5a6cc
Verify that kernel functions referenced by gpu.launch_func have a gpu.kernel attribute.

    Also extract gpu.launch_func's function attribute name into a constant.

--

PiperOrigin-RevId: 247595352
mlir/include/mlir/GPU/GPUDialect.h
mlir/lib/GPU/IR/GPUDialect.cpp
mlir/test/GPU/invalid.mlir
mlir/test/GPU/ops.mlir