This is an automated email from the ASF dual-hosted git repository.
tlopex pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tvm.git
The following commit(s) were added to refs/heads/main by this push:
new baec626676 [Metal] Include logging headers for metal (#19493)
baec626676 is described below
commit baec626676afea53285229e001d211500ef027a9
Author: Akaash Parthasarathy <[email protected]>
AuthorDate: Sat May 2 06:03:56 2026 -0400
[Metal] Include logging headers for metal (#19493)
Metal files were using `LOG` macros without including the necessary
logging header
---
src/runtime/metal/metal_device_api.mm | 1 +
src/runtime/metal/metal_module.mm | 1 +
2 files changed, 2 insertions(+)
diff --git a/src/runtime/metal/metal_device_api.mm
b/src/runtime/metal/metal_device_api.mm
index 47ab8148c5..2a44d98f10 100644
--- a/src/runtime/metal/metal_device_api.mm
+++ b/src/runtime/metal/metal_device_api.mm
@@ -22,6 +22,7 @@
*/
#include <tvm/ffi/function.h>
#include <tvm/ffi/reflection/registry.h>
+#include <tvm/runtime/logging.h>
#include <tvm/runtime/timer.h>
#include "metal_common.h"
diff --git a/src/runtime/metal/metal_module.mm
b/src/runtime/metal/metal_module.mm
index e9589d13a5..782fc92235 100644
--- a/src/runtime/metal/metal_module.mm
+++ b/src/runtime/metal/metal_module.mm
@@ -29,6 +29,7 @@
#include <tvm/ffi/extra/module.h>
#include <tvm/ffi/function.h>
#include <tvm/ffi/reflection/registry.h>
+#include <tvm/runtime/logging.h>
#include <tvm/support/io.h>
#include <array>
#include <mutex>