[mlir] Make cuInit() call thread-safe.
authorChristian Sigg <csigg@google.com>
Fri, 5 Mar 2021 10:29:27 +0000 (11:29 +0100)
committerChristian Sigg <csigg@google.com>
Fri, 5 Mar 2021 15:06:15 +0000 (16:06 +0100)
commit5fedf30748381ad84697291591dab7d570f50d06
treef66b17a1d4e2ab5d329d5084f70236d728df433f
parent05b3716ddbd536c130caa79cf8486f62548f05fc
[mlir] Make cuInit() call thread-safe.

Reviewed By: herhut

Differential Revision: https://reviews.llvm.org/D98024
mlir/tools/mlir-cuda-runner/mlir-cuda-runner.cpp