Skip to content

Commit 1b811cb

Browse files
Small followup to #526 (#528)
* Oops * Update `versioninfo()` output * Update contributing docs
1 parent 4293d1a commit 1b811cb

File tree

4 files changed

+18
-13
lines changed

4 files changed

+18
-13
lines changed

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -67,20 +67,20 @@ importing the package:
6767
julia> using Metal
6868
6969
julia> Metal.versioninfo()
70-
macOS 15.0.0, Darwin 24.0.0
70+
macOS 15.3.0, Darwin 24.3.0
7171
7272
Toolchain:
73-
- Julia: 1.11.0
73+
- Julia: 1.11.3
7474
- LLVM: 16.0.6
7575
7676
Julia packages:
77-
- Metal.jl: 1.4.0
78-
- GPUArrays: 10.3.1
79-
- GPUCompiler: 0.27.8
80-
- KernelAbstractions: 0.9.27
81-
- ObjectiveC: 3.1.0
82-
- LLVM: 9.1.2
83-
- LLVMDowngrader_jll: 0.3.0+1
77+
- Metal.jl: 1.5.1
78+
- GPUArrays: 11.2.1
79+
- GPUCompiler: 1.1.0
80+
- KernelAbstractions: 0.9.33
81+
- ObjectiveC: 3.3.0
82+
- LLVM: 9.2.0
83+
- LLVMDowngrader_jll: 0.6.0+0
8484
8585
1 device:
8686
- Apple M2 Max (64.000 KiB allocated)

docs/src/faq/contributing.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,10 @@ skip the first two steps.
3838
2. Create high-level Julia structures and functionality
3939
3. Create tests for added functionality
4040

41-
`struct`s and `enums` for Objective-C interfaces are automatically generated (see res/wrap/),
41+
Objective-C object definitions, `struct`s, and `enums` for Objective-C interfaces are automatically generated (see res/wrap/),
4242
so you should not have to define them. If using a struct for the first time in a higher-level
43-
interface, remember to add tests! You may need to define more functions around the structs.
43+
interface, remember to add tests! Objective-C object methods and constructors are not yet automtically
44+
generatied, so any contributions there are welcome.
4445

4546
## Mapping to Metal Intrinsics
4647

lib/mtl/libmtl.jl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2662,6 +2662,12 @@ end
26622662
@autoproperty label::id{NSString} setter = setLabel
26632663
end
26642664

2665+
@objcwrapper immutable = true MTLSharedEventListener <: NSObject
2666+
2667+
@objcproperties MTLSharedEventListener begin
2668+
@autoproperty dispatchQueue::id{dispatch_queue_t}
2669+
end
2670+
26652671
@objcwrapper immutable = false MTLSharedEvent <: MTLEvent
26662672

26672673
@objcproperties MTLSharedEvent begin

res/wrap/libmtl.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ printer_blacklist = [
1616
# Temporarily disable MTLFunctionLog because
1717
# "function" property breaks formatter
1818
"MTLFunctionLog",
19-
# Don't print because dispatch_queue_t ??
20-
"MTLSharedEventListener",
2119
]
2220

2321
[codegen]

0 commit comments

Comments
 (0)