[mlir][ExecutionEngine] Remove ScopedContext from ROCm wrappers
authorKrzysztof Drewniak <Krzysztof.Drewniak@amd.com>
Tue, 27 Sep 2022 16:13:07 +0000 (16:13 +0000)
committerKrzysztof Drewniak <Krzysztof.Drewniak@amd.com>
Tue, 27 Sep 2022 16:56:12 +0000 (16:56 +0000)
commit10a8ec86a2264bfb8127d0744394c5a69a396294
tree97d33a08df8f447932f0ff677379832895907b8e
parented8409dfa0a92d80c021f13ca271737492522cc7
[mlir][ExecutionEngine] Remove ScopedContext from ROCm wrappers

The push/pop context APIs are deprecated in HIP, and keeping the
default device set is handled in IHP using hipSetDevice().

Reviewed By: ThomasRaoux

Differential Revision: https://reviews.llvm.org/D134747
mlir/lib/ExecutionEngine/RocmRuntimeWrappers.cpp