Tensor Dimension API for Fused GPU Image Processing Kernels

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Performing image processing operations on graphics processing units (GPUs) requires significant human expertise and inefficient use of resources, leading to suboptimal memory and computing resource utilization.

Innovation Solution

An application programming interface (API) is used to generate software kernels that perform image processing operations, including convolution and tensor operations, by converting tensors into matrices for efficient matrix multiplication without storing operands, and modifying tensor dimensions to combine convolution and reduction operations.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If custom graphics pipelines are built manually for image processing operations, then processing capability is achieved, but human expertise requirement increases and resource efficiency decreases

Engineering Contradiction:
Improveimage processing efficiencyVSAvoidpipeline configuration complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The system enables self-service by allowing the GPU to automatically generate and execute software kernels for image processing operations without requiring manual pipeline configuration. The CUDA program executes autonomously, converting tensors to matrices and performing convolutions through automated kernel generation, eliminating the need for human expertise in pipeline construction while maintaining high processing efficiency.

Inventive Principle:
Principle #25Self-service

2Speed

If tensors are converted to matrices for matrix multiplication, then computing efficiency improves, but memory usage increases due to operand storage requirements

Engineering Contradiction:
Improvecomputing speedVSAvoidmemory consumption
Core Design Contradiction:
SpeedVSQuantity of substance

Solution Approach 1:

The invention extracts and eliminates the unnecessary operand storage step from the traditional matrix multiplication process. Instead of storing complete matrix operands in memory before computation, the system directly processes tensor data through automated kernel generation that performs conversions and multiplications in-place, removing the memory burden of storing intermediate matrix representations while maintaining computing speed.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The system changes the dimensional representation approach by working directly with tensors in their native multi-dimensional form rather than converting to traditional two-dimensional matrices for storage. This dimensionality approach allows the GPU to perform efficient computations on tensor data structures without requiring additional memory allocation for matrix conversion, achieving both speed and memory efficiency.

Inventive Principle:
Principle #17Another dimension (Dimensionality change)

3Productivity

If convolution and reduction operations are performed separately, then operational clarity is maintained, but processing time increases

Engineering Contradiction:
Improveprocessing throughputVSAvoidoperation execution time
Core Design Contradiction:
ProductivityVSLoss of time

Solution Approach 1:

The invention merges convolution and reduction operations into a single integrated software kernel that executes atomically on the GPU. The unified kernel performs both tensor convolution and dimension reduction simultaneously without intermediate storage or separate execution steps, eliminating the time loss associated with sequential operation execution while maintaining the logical clarity of distinct computational stages through structured code organization.

Inventive Principle:
Principle #5Merging (Combining)

Data Source

PatentUS12567122B1Application programming interface to modify tensor dimensions
Publication Date: 2026.03.03 NVIDIA CORP
  • US12567122B1 patent drawing
  • US12567122B1 patent drawing
  • US12567122B1 patent drawing

AI summary

Apparatuses, systems, and techniques to perform image processing. In at least one embodiment, an application programming interface is performed to cause dimensions of a tensor to be modified.