GPU Cache Bypass Control via Texture Pixel Scale Factor
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Graphics processing units (GPUs) face inefficiencies in data access due to the slow processing speed of large capacity external memory, leading to suboptimal cache utilization and increased power consumption, particularly when handling texture data with varying resolutions.
Innovation Solution
A control device and method that acquires information about pixel and texture sizes to determine a scale factor, allowing for cache bypassing when the scale factor exceeds a critical value, thereby optimizing data transmission and reducing cache pollution and power consumption by directly transmitting texture data from a lower level cache without storing it in an upper level cache.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Speed
If texture data is stored in upper level cache, then data access speed is improved for future requests, but power consumption increases and cache pollution occurs when data is not reused
Solution Approach 1:
The patent changes the parameter of cache usage by introducing a scale factor (ratio of texture size to pixel size) that determines whether to bypass the cache or use it. When the scale factor indicates low reuse probability, the cache is bypassed, avoiding unnecessary power consumption while maintaining fast access when reuse is likely.
Solution Approach 2:
The patent implements dynamic cache bypass control based on real-time analysis of texture mapping parameters. The controller dynamically decides whether to bypass the cache or use it for each texture data transfer, adapting to varying reuse probabilities rather than using a static cache policy.
2Speed
If texture data is stored in cache, then data transmission speed is improved, but cache pollution increases when texture size is large relative to pixel size
Solution Approach 1:
The patent uses the scale factor parameter to dynamically control cache bypass behavior. When the texture size is large relative to the pixel size (high scale factor), the cache is bypassed, preventing cache pollution. When the scale factor is low, the cache is used to maintain fast data transmission.
3Productivity
If cache is used for all texture data, then data access efficiency is improved, but power consumption increases for high resolution textures with low reuse
Solution Approach 1:
The patent introduces the scale factor as a controlling parameter that balances productivity and power consumption. By analyzing the relationship between texture size and pixel size, the system dynamically adjusts cache usage to maintain data access efficiency while reducing power consumption for high-resolution textures with low reuse probability.
Solution Approach 2:
The system performs self-service by automatically analyzing texture mapping parameters and making intelligent decisions about cache bypass without external intervention. The controller autonomously determines the optimal cache usage strategy based on the scale factor, improving both efficiency and energy utilization.
Data Source
AI summary
A control device for cache bypass includes: an information acquirer configured to acquire information about pixels on a screen space and a texture to be mapped to the pixels; and a controller configured to determine a scale factor, by using the acquired information, and to control texture data corresponding to the texture to bypass a cache based on the scale factor, wherein the scale factor is a ratio of a size of the texture to a size of the pixels.


