Skip to content
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

Show METAL_CAPTURE_ENABLED in Metal.versioninfo() when the environment variable is set #248

Merged
merged 1 commit into from
Aug 23, 2023

Conversation

christiangnrd
Copy link
Contributor

No description provided.

@maleadt
Copy link
Member

maleadt commented Aug 23, 2023

Good idea, thanks!

Also, since you're apparently profiling Julia/Metal.jl code: It would be great if the profiling docs could be extended a little, e.g., on how to actually use Xcode (maybe with some screenshots like the CUDA docs). If you have the time, of course. I personally don't have much experience with Xcode, so would probably learn a thing of two from it too 🙂

@maleadt maleadt merged commit 8b1e973 into JuliaGPU:main Aug 23, 2023
@christiangnrd
Copy link
Contributor Author

To be completely honest I was just using the profiling to see if any obvious differences between MacOS 13 and 14 showed up that would explain why things crash and I noticed the environment variable didn't show up in versioninfo. I have probably used Xcode as much as you have.

@maleadt
Copy link
Member

maleadt commented Aug 23, 2023

Oh yeah Sonoma is unsupported: #201
The problem seems to be that the LLVM IR AIR emitted/consumed by macOS 14's toolchain has some additional metadata, which I haven't figured out yet. I asked Apple, but didn't hear back, and I haven't had the time yet to reverse engineer the changes.

@christiangnrd christiangnrd deleted the christiangnrd-patch-1-1 branch August 23, 2023 16:06
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