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

zluda build error #45

Closed
yuandongy opened this issue Mar 2, 2021 · 4 comments
Closed

zluda build error #45

yuandongy opened this issue Mar 2, 2021 · 4 comments

Comments

@yuandongy
Copy link

yuandongy commented Mar 2, 2021

D:\ZLUDA>cargo build --release Updating git repository https://github.com/vosen/rspirv`
Updating crates.io index
error: failed to select a version for the requirement rustc_version = "^0.1"
candidate versions found which didn't match: 0.3.3, 0.3.2, 0.3.1, ...
location searched: crates.io index
required by package ocl-core v0.11.2
... which is depended on by `level_zero v0.1.0 (D:\ZLUDA\level_zero)``

I use intel's GPU HD520
Rust is the last version 1.5
D:\ZLUDA>cargo -V cargo 1.50.0 (f04e7fab7 2021-02-04)

I don't know how does deal with this problem.

@VitaliiGitHub
Copy link

VitaliiGitHub commented Mar 3, 2021

I have a same problem on my Intel HD Graphics 530:

F:\Git_NET\ZLUDA>cargo build --release
Updating git repository https://github.com/vosen/rspirv
Updating crates.io index
error: failed to select a version for the requirement rustc_version = "^0.1"
candidate versions found which didn't match: 0.3.3, 0.3.2, 0.3.1, ...
location searched: crates.io index
required by package ocl-core v0.11.0
... which is depended on by level_zero v0.1.0 (F:\Git_NET\ZLUDA\level_zero)
... which is depended on by ptx v0.0.0 (F:\Git_NET\ZLUDA\ptx)
... which is depended on by zluda v0.0.0 (F:\Git_NET\ZLUDA\zluda)
... which is depended on by zluda_lib v0.0.0 (F:\Git_NET\ZLUDA\zluda_lib)

F:\Git_NET\ZLUDA>cargo -V
cargo 1.50.0 (f04e7fab7 2021-02-04)

@yuandongy
Copy link
Author

@VitaliiGitHub
We need not build those codes. because the author has compiled the program.
It's download link is : https://github.com/vosen/ZLUDA/releases/tag/v2 .

zluda_with.exe -- <application.exe>
example of geekbench
C:\Geekbench>zluda_with.exe -- geekbench5.exe --compute
or
C:\Geekbench>zluda_with.exe -- geekbench5.exe --cpu

@VitaliiGitHub
Copy link

Ok, I tried this Release too. But I use not geekbench5.exe, I decided to run real application developing on CUDA, for example simple samples from NVIDIA CUDA SDK. And get errors about "error 71 operation not supported" (see Issue #46).
It is all great that it works with raw kernel code, but what about host calls, for example, copying memory between host and device? (As for me, In real tasks, we can't do without these calls)

@vosen
Copy link
Owner

vosen commented Feb 12, 2024

I am closing this as no longer relevant.
Feel free to reopen if it still appplies to the new version

@vosen vosen closed this as not planned Won't fix, can't repro, duplicate, stale Feb 12, 2024
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

3 participants