llvm/mlir/lib/ExecutionEngine
Matthew Parkinson dd2dac2fd0 Fix MLIR Async Runtime DLL on Windows
The AsyncRuntime declares prototypes for extern "C" functions inside a
namespace in the header, but not inside that namespace in the
definition. This causes Visual Studio to treat them as different
entities and thus the dllexport is ignored for the definitions.

Using the same namespace fixes this issue.

Secondly, this commit moves the dllexport to be consistent with the
JITs expectation.

This is an update to https://reviews.llvm.org/D95386 that fixes the
compile issues in old versions of Visual studio.

Differential Revision: https://reviews.llvm.org/D95933
2021-02-03 12:23:41 +00:00
..
AsyncRuntime.cpp Fix MLIR Async Runtime DLL on Windows 2021-02-03 12:23:41 +00:00
CMakeLists.txt [mlir] Remove mlir_c_runner_utils_static. 2021-01-29 15:04:48 +01:00
CRunnerUtils.cpp [mlir] Fix integration tests 2021-01-28 16:54:50 +00:00
ExecutionEngine.cpp [llvm][clang][mlir] Add checks for the return values from Target::createXXX to prevent protential null deref 2020-11-21 21:04:12 -08:00
JitRunner.cpp [mlir:JitRunner] Use custom shared library init/destroy functions if available 2021-01-08 13:16:08 -08:00
OptUtils.cpp Revert "Revert "[mlir] Convert from Async dialect to LLVM coroutines"" 2020-10-22 15:23:11 -04:00
RunnerUtils.cpp [mlir] Fix integration tests 2021-01-28 16:54:50 +00:00
SparseUtils.cpp [mlir][sparse] add asserts on reading in tensor data 2021-01-20 14:30:13 -08:00