Search Ctrl K
Home / Tools
THE FEUTEX TOOLKIT

GPU Block Residency Bound

Estimate resource-limited resident blocks from shared memory, registers and thread caps.

Computer Systems workspace● Runs in your browser
01 Your input
02 Your result
View or copy raw result data
Formulablocks=min(blockCap,sharedMemCap,registerCap,threadCap)
Sources and model references

Worked example

Inputs

Shared memory per SM
65536 bytes
Shared memory per block
16384 bytes
Registers per SM
65536
Registers per thread
32
Threads per block
256
Threads per SM limit
2048
Blocks per SM limit
16

Expected results

Resource-bound resident blocks
4 blocks
Thread-limit occupancy
50 %

Load the example in the workspace to reproduce these results. Display rounding does not change the underlying calculation.

How to use this tool

  1. Enter the labeled inputs in the indicated units.
  2. Calculate and compare every output against the stated model assumptions.

Try this example

{
  "smem": 65536,
  "blockmem": 16384,
  "regs": 65536,
  "regthread": 32,
  "threads": 256,
  "maxthreads": 2048,
  "maxblocks": 16
}

Accuracy and scope

Simplified resource arithmetic; register allocation granularity, warps, architecture and compiler choices may lower occupancy. Simplified analytical model; not a design recommendation or safety certification.

Is my data uploaded?

This tool runs locally in your browser. Input and output are not sent to a processing server. Copy or download your result before leaving the page.