You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
where the whole code block has to be duplicated just to add 3 definitions.
An in-macro version of this would allow for cleaner code and would allow for easier integration with the AVAILABILITY attributes once Clang header generation is supported.
This would require that either Metal.macos_version() be moved to this package, or maybe the macro take a predicate for each property definition?
The text was updated successfully, but these errors were encountered:
Would prevent situations like this:
https://github.com/JuliaGPU/Metal.jl/blob/6a760a60a33b864b2c7fa3e856e38e1e6299f871/lib/mps/ndarray.jl#L52-L75
where the whole code block has to be duplicated just to add 3 definitions.
An in-macro version of this would allow for cleaner code and would allow for easier integration with the
AVAILABILITY
attributes once Clang header generation is supported.This would require that either
Metal.macos_version()
be moved to this package, or maybe the macro take a predicate for each property definition?The text was updated successfully, but these errors were encountered: