Contents

failOnBinaryArchiveMiss

An option that instructs the compiler to return an error when a GPU function for a stitched library isn’t in a binary archive.

Declaration

static var failOnBinaryArchiveMiss: MTLStitchedLibraryOptions { get }

Discussion

By default, Metal compiles the functions for a stitched library if they aren’t in a binary archive. When you set this option, Metal returns an error instead of compiling a missing function.