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

Improvements for Metal #436

Merged
merged 7 commits into from
May 17, 2023
Merged

Improvements for Metal #436

merged 7 commits into from
May 17, 2023

Conversation

maleadt
Copy link
Member

@maleadt maleadt commented Apr 27, 2023

  • adds a device-side version getter for the Metal and AIR version, while making both configurable
  • adds function attributes for some intrinsics

We were also always using Metal 2.4.0, even on macOS 13 (while using Metal 3-only features)... Not sure why that did work. I'm also not sure what the difference is between the Metal and AIR version; we emit the same version for both.

@maleadt maleadt added the metal Stuff about the Apple metal back-end. label Apr 27, 2023
@codecov
Copy link

codecov bot commented Apr 27, 2023

Codecov Report

Patch coverage: 60.60% and project coverage change: -0.42 ⚠️

Comparison is base (87f1818) 86.71% compared to head (85a2ee2) 86.29%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #436      +/-   ##
==========================================
- Coverage   86.71%   86.29%   -0.42%     
==========================================
  Files          23       23              
  Lines        2943     2970      +27     
==========================================
+ Hits         2552     2563      +11     
- Misses        391      407      +16     
Impacted Files Coverage Δ
src/metal.jl 84.39% <60.60%> (-2.30%) ⬇️

... and 3 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@maleadt maleadt marked this pull request as draft April 28, 2023 12:39
@maleadt maleadt changed the title Metal: Make versions configurable, and emit in the module. Improvements for Metal Apr 28, 2023
@maleadt maleadt marked this pull request as ready for review April 28, 2023 14:19
@maleadt maleadt changed the title Improvements for Metal WIP: Improvements for Metal Apr 28, 2023
@maleadt maleadt force-pushed the tb/metal_version branch from b850847 to 40e2703 Compare May 17, 2023 10:42
@maleadt maleadt changed the title WIP: Improvements for Metal Improvements for Metal May 17, 2023
@maleadt maleadt merged commit 8857d85 into master May 17, 2023
@maleadt maleadt deleted the tb/metal_version branch May 17, 2023 11:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
metal Stuff about the Apple metal back-end.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant