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

Silent failure with unsupported(?) Intel Iris Graphics #109

Closed
pitsianis opened this issue Feb 28, 2023 · 2 comments
Closed

Silent failure with unsupported(?) Intel Iris Graphics #109

pitsianis opened this issue Feb 28, 2023 · 2 comments

Comments

@pitsianis
Copy link

I tried Metal.jl with my trusty late 2013 13" MacBook Pro with a 2.6 GHz Dual-Core Intel Core i5 and the built-in Intel Iris GPU with 1536 MB VRAM.

I hoped Metal would work, not necessarily faster, but apparently, it fails silently. Perhaps you should refuse to run on unsupported hardware. Can Metal support old hardware with simple code modifications? In any case, I admire your great work.

julia-1.8.5|testGPU> using Metal

julia-1.8.5|testGPU> Metal.versioninfo()
macOS 11.7.4, Darwin 21.4.0

Toolchain:
- Julia: 1.8.5
- LLVM: 13.0.1

1 device:
- Intel Iris Graphics (0 bytes allocated)

julia-1.8.5|testGPU> a = MtlArray([1])
1-element MtlVector{Int64}:
 1

julia-1.8.5|testGPU> a
1-element MtlVector{Int64}:
 1

julia-1.8.5|testGPU> a .+ 1
1-element MtlVector{Int64}:
 0
@maleadt
Copy link
Member

maleadt commented Mar 3, 2023

Can Metal support old hardware with simple code modifications?

Sadly, no. See #22.

Perhaps you should refuse to run on unsupported hardware.

The problem is that for some users it seems to work fine, or at least mostly. Since we only support M-series GPUs though we should probably emit a warning at the least.

@maleadt
Copy link
Member

maleadt commented Mar 3, 2023

2baf6dc

@maleadt maleadt closed this as completed Mar 3, 2023
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

No branches or pull requests

2 participants