1
1
/*
2
2
*
3
- * Copyright (C) 2023-2024 Intel Corporation
3
+ * Copyright (C) 2023-2025 Intel Corporation
4
4
*
5
5
* Under the Apache License v2.0 with LLVM Exceptions. See LICENSE.TXT.
6
6
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
@@ -67,7 +67,7 @@ umf_result_t initialize(T *obj, ArgsTuple &&args) {
67
67
68
68
template <typename T> umf_memory_pool_ops_t poolOpsBase () {
69
69
umf_memory_pool_ops_t ops{};
70
- ops.version = UMF_VERSION_CURRENT ;
70
+ ops.version = UMF_POOL_OPS_VERSION_CURRENT ;
71
71
ops.finalize = [](void *obj) { delete reinterpret_cast <T *>(obj); };
72
72
UMF_ASSIGN_OP (ops, T, malloc, ((void *)nullptr ));
73
73
UMF_ASSIGN_OP (ops, T, calloc, ((void *)nullptr ));
@@ -81,7 +81,7 @@ template <typename T> umf_memory_pool_ops_t poolOpsBase() {
81
81
82
82
template <typename T> constexpr umf_memory_provider_ops_t providerOpsBase () {
83
83
umf_memory_provider_ops_t ops{};
84
- ops.version = UMF_VERSION_CURRENT ;
84
+ ops.version = UMF_PROVIDER_OPS_VERSION_CURRENT ;
85
85
ops.finalize = [](void *obj) { delete reinterpret_cast <T *>(obj); };
86
86
UMF_ASSIGN_OP (ops, T, alloc, UMF_RESULT_ERROR_UNKNOWN);
87
87
UMF_ASSIGN_OP (ops, T, free, UMF_RESULT_ERROR_UNKNOWN);
0 commit comments