[mlir] #include CRunnerUtils.h instead of RunnerUtils.h in SPIRV-runner
authorChristian Sigg <chsigg@users.noreply.github.com>
Wed, 21 Jun 2023 08:11:46 +0000 (10:11 +0200)
committerGitHub <noreply@github.com>
Wed, 21 Jun 2023 08:11:46 +0000 (10:11 +0200)
This avoids bazel builds failing after commit bba2b656110209a3d9863b92c060082479b06ab1 because libmlir_test_spirv_cpu_runner_c_wrappers.so registers the same runner functions twice.

More precisely, this problem only shows up internally at Google because the bazel build does not have that target.

Either way though, it's better to IWYU.

mlir/test/mlir-spirv-cpu-runner/mlir_test_spirv_cpu_runner_c_wrappers.cpp

index 8101d7f..93433be 100644 (file)
@@ -10,7 +10,7 @@
 //
 //===----------------------------------------------------------------------===//
 
-#include "mlir/ExecutionEngine/RunnerUtils.h"
+#include "mlir/ExecutionEngine/CRunnerUtils.h"
 
 #ifdef _WIN32
 #define EXPORT __declspec(dllexport)