GPU Context Deallocation APIs for Memory-Efficient Resource Management

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing computer programs face challenges in optimizing memory and resource usage, leading to inefficiencies in performance.

Innovation Solution

Implementing application programming interfaces (APIs) to manage resources by creating, destroying, and subdividing contexts and sub-contexts, as well as obtaining and generating resource descriptors, which allow for more efficient allocation and management of resources on graphics processing units (GPUs).

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Quantity of substance

If computer programs use significant memory and resources to perform computations, then computational tasks can be executed, but memory efficiency and resource utilization deteriorate

Engineering Contradiction:
Improvememory usageVSAvoidprogram performance
Core Design Contradiction:
Quantity of substanceVSProductivity

Solution Approach 1:

The patent segments GPU resources by creating multiple contexts and sub-contexts, each managing its own data structures and resources independently. This segmentation allows different computational tasks to share the same physical memory through virtual addressing, improving memory efficiency while maintaining program performance

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces context descriptors and resource descriptors as intermediary data structures that manage the mapping between virtual and physical memory. These descriptors act as mediators that enable efficient resource allocation and deallocation without direct memory management overhead, resolving the contradiction between memory efficiency and performance

Inventive Principle:
Principle #24Intermediary (Mediator)

2Adaptability or versatility

If data structures are allocated for GPU resource management, then resource allocation capability improves, but memory consumption increases

Engineering Contradiction:
Improveresource management capabilityVSAvoidmemory consumption
Core Design Contradiction:
Adaptability or versatilityVSQuantity of substance

Solution Approach 1:

The patent implements a nested hierarchy where context descriptors contain arrays of resource descriptors, which in turn contain pointers to actual GPU resources. This nested structure allows compact representation of complex resource relationships, providing high adaptability with minimal memory overhead

Inventive Principle:
Principle #7Nested doll (Nesting)

Solution Approach 2:

The patent implements automatic deallocation of data structures when contexts are destroyed. The system recovers memory by deallocating context descriptors and their associated resource descriptors, ensuring that memory consumption does not permanently increase even as resource management capability improves

Inventive Principle:
Principle #34Discarding and recovering

Data Source

PatentUS20250245153A1Application Programming Interface to Deallocate a Data Structure
Publication Date: 2025.07.31 NVIDIA CORP
  • US20250245153A1 patent drawing
  • US20250245153A1 patent drawing
  • US20250245153A1 patent drawing

AI summary

Apparatuses, systems, and techniques to perform computing operations. In at least one embodiment, a processor performs an application programming interface to deallocate one or more data structures to indicate which of one or more streaming multiprocessors of one or more processors are to be used to perform one or more software threads.