Skip to content

Commit baec626

Browse files
authored
[Metal] Include logging headers for metal (#19493)
Metal files were using `LOG` macros without including the necessary logging header
1 parent bfa0782 commit baec626

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

src/runtime/metal/metal_device_api.mm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
*/
2323
#include <tvm/ffi/function.h>
2424
#include <tvm/ffi/reflection/registry.h>
25+
#include <tvm/runtime/logging.h>
2526
#include <tvm/runtime/timer.h>
2627
#include "metal_common.h"
2728

src/runtime/metal/metal_module.mm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
#include <tvm/ffi/extra/module.h>
3030
#include <tvm/ffi/function.h>
3131
#include <tvm/ffi/reflection/registry.h>
32+
#include <tvm/runtime/logging.h>
3233
#include <tvm/support/io.h>
3334
#include <array>
3435
#include <mutex>

0 commit comments

Comments
 (0)