[mlir][gpu] Fix leaked stream and module when lowering gpu.launch_func to runtime...
authorChristian Sigg <csigg@google.com>
Thu, 29 Oct 2020 07:17:27 +0000 (08:17 +0100)
committerChristian Sigg <csigg@google.com>
Thu, 29 Oct 2020 07:40:51 +0000 (08:40 +0100)
commit97b351a827677ebbedc10bfbce8ef8844c246553
treee3188acadca70a237c18dead682901baaba38578
parent4d11daa659a1833a85863ea920174da4d052a8ba
[mlir][gpu] Fix leaked stream and module when lowering gpu.launch_func to runtime calls.

Reviewed By: mehdi_amini

Differential Revision: https://reviews.llvm.org/D90370
mlir/lib/Conversion/GPUCommon/ConvertLaunchFuncToRuntimeCalls.cpp
mlir/test/Conversion/GPUCommon/lower-launch-func-to-gpu-runtime-calls.mlir
mlir/tools/mlir-cuda-runner/cuda-runtime-wrappers.cpp
mlir/tools/mlir-rocm-runner/rocm-runtime-wrappers.cpp