From a92b097995400734b9dd8818dbfa8eb5a185480a Mon Sep 17 00:00:00 2001 From: Rafal Rudnicki Date: Thu, 12 Dec 2024 15:35:41 +0100 Subject: [PATCH] disjoint c --- source/common/CMakeLists.txt | 5 ++--- source/common/umf_helpers.hpp | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/source/common/CMakeLists.txt b/source/common/CMakeLists.txt index b5fb64cfc5..cbae49c701 100644 --- a/source/common/CMakeLists.txt +++ b/source/common/CMakeLists.txt @@ -28,14 +28,14 @@ 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/bratpiorka/unified-memory-framework.git") endif() if (NOT DEFINED UMF_TAG) # tag v0.10.0 # Tagger: Ɓukasz Stolarczuk # Date: Mon Dec 9 17:01:43 2024 +0100 - set(UMF_TAG v0.10.0) + set(UMF_TAG e8bc871cd537cb0b2d77812a7e40c6cff3e19720) endif() message(STATUS "Will fetch Unified Memory Framework from ${UMF_REPO}") @@ -119,5 +119,4 @@ add_library(${PROJECT_NAME}::umf ALIAS ur_umf) target_link_libraries(ur_umf INTERFACE umf::umf umf::headers - umf::disjoint_pool ) diff --git a/source/common/umf_helpers.hpp b/source/common/umf_helpers.hpp index d067b8ab1a..4b7a4a7b6f 100644 --- a/source/common/umf_helpers.hpp +++ b/source/common/umf_helpers.hpp @@ -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);