name
The name of a GPU device’s architecture.
Declaration
var name: String { get }Discussion
The property’s value is equivalent to the output from the metal-arch command line tool on the same system.
% xcrun metal-arch
applegpu_g13sApps can use this property’s value to make decisions at runtime. For example, an app could retrieve a GPU-specific file from its developer’s content delivery network (CDN), such as a shader library or binary archive. See Shader libraries and Shader library and archive creation for more information.