Skip to content

Commit

Permalink
Add MTLArchitecture
Browse files Browse the repository at this point in the history
  • Loading branch information
christiangnrd committed Dec 26, 2024
1 parent 52622c9 commit 2b5f92a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lib/mtl/device.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2b5f92a

Please sign in to comment.