-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Intrinsics for 64 Bit Atomics #477
Comments
That's pretty hard, for kernel-level functionality. We could expose it similarly to the Metal and AIR version, but then all we can do is emit an exception (and thus a run-time error, which are currently still invisible until #416 is finished). Maybe it'd be worth trying to pick those up in the GPUCompiler validator? Seems hacky; in Julia those things are typically postponed until run-time. |
We could also check in the compiler for the intrinsics and report back. Just like |
Slowly making Julia a static language 😛 I agree it's better for the user, though. |
https://developer.apple.com/metal/Metal-Shading-Language-Specification.pdf
64 bit atomics are supported on M3 and up with some support on M2.
For this to be usable we need to figure out how to guard this feature to M2 or M3 and up by checking for the
MetalGPUFamily
.The text was updated successfully, but these errors were encountered: