diff --git a/lib/mtl/device.jl b/lib/mtl/device.jl index fccbebc1..b0df0631 100644 --- a/lib/mtl/device.jl +++ b/lib/mtl/device.jl @@ -4,6 +4,14 @@ export MTLDevice, MTLCreateSystemDefaultDevice, devices +@static if Metal._safe_minversion(v"14") + @objcwrapper MTLArchitecture <: NSObject + + @objcproperties MTLArchitecture begin + @autoproperty architecture::id{NSString} + end +end + @objcwrapper MTLDevice <: NSObject @objcproperties MTLDevice begin