Skip to content

Commit

Permalink
[common] Bump UMF to early 0.11 version, from main
Browse files Browse the repository at this point in the history
It includes i.a. MacOS fix for compiler.
  • Loading branch information
lukaszstolarczuk committed Jan 24, 2025
1 parent f85255e commit a5b080d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
14 changes: 8 additions & 6 deletions source/common/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2022-2023 Intel Corporation
# Copyright (C) 2022-2025 Intel Corporation
# Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions.
# See LICENSE.TXT
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
Expand Down Expand Up @@ -28,14 +28,16 @@ target_include_directories(ur_common PUBLIC

message(STATUS "Download Unified Memory Framework from github.com")
if (NOT DEFINED UMF_REPO)
set(UMF_REPO "https://github.com/oneapi-src/unified-memory-framework.git")
set(UMF_REPO "https://github.com/lukaszstolarczuk/unified-memory-framework.git")
endif()

if (NOT DEFINED UMF_TAG)
# Tagger: Łukasz Stolarczuk <[email protected]>
# Date: Fri Jan 10 13:30:49 2025 +0100
# 0.10.1 release
set(UMF_TAG v0.10.1)
# commit ada63d7e744066953923e04c8a0b0cd2f30757e8 (HEAD -> hwloc-revert-examples-win, origin/hwloc-revert-examples-win)
# Author: Łukasz Stolarczuk <[email protected]>
# Date: Fri Jan 24 12:58:01 2025 +0100
# Revert changes for Win static hwloc
# Ref. https://github.com/oneapi-src/unified-memory-framework/pull/1016
set(UMF_TAG ada63d7e744066953923e04c8a0b0cd2f30757e8)
endif()

message(STATUS "Will fetch Unified Memory Framework from ${UMF_REPO}")
Expand Down
4 changes: 2 additions & 2 deletions source/common/umf_helpers.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
*
* Copyright (C) 2023-2024 Intel Corporation
* Copyright (C) 2023-2025 Intel Corporation
*
* Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM
* Exceptions. See LICENSE.TXT
Expand Down Expand Up @@ -168,7 +168,7 @@ auto memoryProviderMakeUnique(Args &&...args) {
UMF_ASSIGN_OP(ops, T, get_recommended_page_size, UMF_RESULT_ERROR_UNKNOWN);
UMF_ASSIGN_OP(ops, T, get_min_page_size, UMF_RESULT_ERROR_UNKNOWN);
UMF_ASSIGN_OP(ops, T, get_name, "");
UMF_ASSIGN_OP(ops.ext, T, free, UMF_RESULT_ERROR_UNKNOWN);
UMF_ASSIGN_OP(ops, T, free, UMF_RESULT_ERROR_UNKNOWN);
UMF_ASSIGN_OP(ops.ext, T, purge_lazy, UMF_RESULT_ERROR_UNKNOWN);
UMF_ASSIGN_OP(ops.ext, T, purge_force, UMF_RESULT_ERROR_UNKNOWN);
UMF_ASSIGN_OP(ops.ext, T, allocation_merge, UMF_RESULT_ERROR_UNKNOWN);
Expand Down

0 comments on commit a5b080d

Please sign in to comment.