Skip to content

Conversation

MarijnS95
Copy link
Contributor

Targets #762 (probably postponing this until that's merged)
Depends on #772, #773

See #773 for more details. We should resolve things there first before considering this PR, but I'm opening it already for completeness (and because it's very useful in my daily work on Metal 4) nevertheless.


The new MTL4 types inherit a lot of functions from older Metal versions that need to be annotated to not be unsafe, so that they can be more trivially called.

@MarijnS95 MarijnS95 force-pushed the xcode-26-metal-unsafe branch from 72ab5d5 to 35cb0d1 Compare July 23, 2025 20:15
@MarijnS95 MarijnS95 force-pushed the xcode-26-metal-unsafe branch from 35cb0d1 to 09f0a25 Compare August 6, 2025 20:28
@madsmtm madsmtm mentioned this pull request Aug 6, 2025
@MarijnS95 MarijnS95 force-pushed the xcode-26-metal-unsafe branch from 09f0a25 to d987ab0 Compare August 6, 2025 21:05
@madsmtm madsmtm added this to the frameworks v0.3.2 milestone Aug 17, 2025
@MarijnS95 MarijnS95 force-pushed the xcode-26-metal-unsafe branch from b927e7f to 7e98970 Compare August 20, 2025 14:42
@MarijnS95 MarijnS95 force-pushed the xcode-26-metal-unsafe branch 2 times, most recently from 3141e21 to 209eb22 Compare September 9, 2025 09:34
The new `Metal4` types inherit a lot of functions from older Metal
versions that need to be annotated to not be unsafe, so that they
can be more trivially called.
@madsmtm
Copy link
Owner

madsmtm commented Sep 29, 2025

We'll handle the majority of this in #792, so I'll close this in favour of that.

@madsmtm madsmtm closed this Sep 29, 2025
@MarijnS95 MarijnS95 deleted the xcode-26-metal-unsafe branch September 30, 2025 13:02
@MarijnS95
Copy link
Contributor Author

I'll try to amend the missing bits into #773, which you left open and where the majority of the safety aspects remain.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants