Skip to content

Commit 22ae7e6

Browse files
committed
fix PR comments
Signed-off-by: Ceng23333 <441651826@qq.com>
1 parent 8014f24 commit 22ae7e6

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

src/infinicore/context/runtime/runtime.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ std::shared_ptr<Memory> Runtime::allocateMemory(size_t size) {
6464

6565
std::shared_ptr<Memory> Runtime::allocatePinnedHostMemory(size_t size) {
6666
if (!pinned_host_memory_allocator_) {
67-
// For CPU devices, pinned memory is not supported, fall back to regular host memory
67+
spdlog::warn("For CPU devices, pinned memory is not supported, falling back to regular host memory");
6868
return allocateMemory(size);
6969
}
7070
std::byte *data_ptr = pinned_host_memory_allocator_->allocate(size);

xmake.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,6 @@ target("_infinicore")
335335
set_languages("cxx17")
336336

337337
set_kind("shared")
338-
set_languages("cxx17")
339338
local INFINI_ROOT = os.getenv("INFINI_ROOT") or (os.getenv(is_host("windows") and "HOMEPATH" or "HOME") .. "/.infini")
340339
add_includedirs(INFINI_ROOT.."/include", { public = true })
341340

0 commit comments

Comments
 (0)