iogpucensus

command
v0.6.19 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 28, 2026 License: MIT Imports: 11 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command iogpucensus reports the Objective-C class identity of the objects the public Metal API vends.

design/iogpu-spec.md proposes using private/iogpu — the IOGPUMetal* classes behind Metal — as a measurement instrument. Every workstream in that spec assumes a public MTLDevice, MTLBuffer, or MTLTexture can be treated as its corresponding IOGPUMetal* class. That assumption is load-bearing and unverified: a census that reports selectors responding on the wrong object certifies nothing.

This command answers the public-object class-identity half of the census and performs a read-only selector-presence census. It does not invoke private selectors, so it remains useful before private/iogpu compiles. It prints the full superclass chain of each object the public API returns and says whether the IOGPUMetal* class the spec expects appears anywhere in it.

A "no" here invalidates the corresponding workstream before anyone builds on it, which is the point of running it early.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL