Skip to content

add memory properties API #1301

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

bratpiorka
Copy link
Contributor

@bratpiorka bratpiorka commented May 8, 2025

@bratpiorka bratpiorka force-pushed the rrudnick_props_api branch 15 times, most recently from 92db71d to 56573df Compare May 16, 2025 13:42
@bratpiorka bratpiorka force-pushed the rrudnick_props_api branch 15 times, most recently from a5c357c to 17f6335 Compare June 4, 2025 17:42
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds a comprehensive memory properties API to the unified memory framework, enabling users to query various properties of allocated memory such as memory type, base address, size, and provider-specific information.

  • Introduces memory properties API with two main functions: umfGetMemoryPropertiesHandle and umfGetMemoryProperty
  • Extends memory provider operations with ext_get_allocation_properties function
  • Adds comprehensive test coverage for the new memory properties functionality

Reviewed Changes

Copilot reviewed 37 out of 38 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
include/umf/base.h Defines memory property types and handle structures
include/umf/experimental/memory_props.h Public API for memory properties functionality
src/memory_props.c Core implementation of memory properties API
src/provider/provider_tracking.c Updates tracking provider to support memory properties
test/props/ Comprehensive test suite for memory properties API
Various provider files Updates all providers to support new allocation properties interface

@bratpiorka bratpiorka force-pushed the rrudnick_props_api branch 3 times, most recently from 7166723 to cfae388 Compare July 22, 2025 13:42
@bratpiorka bratpiorka force-pushed the rrudnick_props_api branch 2 times, most recently from 55cd0ea to f0d0c8c Compare July 23, 2025 08:22
@bratpiorka bratpiorka force-pushed the rrudnick_props_api branch 9 times, most recently from 0662923 to 4e1961a Compare August 6, 2025 12:23
@bratpiorka bratpiorka force-pushed the rrudnick_props_api branch 4 times, most recently from 0be027c to a7ca9f6 Compare August 7, 2025 12:20
Copy link
Contributor

@lukaszstolarczuk lukaszstolarczuk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

add memory properties API​
4 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy