calebwin / emu

The write-once-run-anywhere GPGPU library for Rust
https://calebwin.github.io/emu
MIT License
1.59k stars 53 forks source link

Compiling error #36

Closed PerfectStepCoder closed 4 years ago

PerfectStepCoder commented 4 years ago

Hi everyone! This project ia awesome. I was tring run example code, but I got error: let gpu_ident = quote! {gpu}.into(); -> ^^^^ the trait std::convert::From<quote::__private::TokenStream> is not implemented for syn::Expr this error was in passing.rs file. Help me please to understand how it works? p.s. my OS is Windows 10 64 bit, Rust has 1.42.0 version, and I have installed OpenCL driver (my video card is Nvidia GeForce 1070).

calebwin commented 4 years ago

If you use the dev branch, that issue should go away.

With that said, that is a version of Emu that I'm not developing as of now. I'm currently developing a lower-level version that is in the emu_core folder. I'll be releasing a crate and documentation for that later this afternoon.

PerfectStepCoder commented 4 years ago

Thanks for anwer. I will wait for your release.

calebwin commented 4 years ago

The new version is released. Docs are here and crate here.

Let me know what you think!

PerfectStepCoder commented 4 years ago

I think it is a good job! So, I am trying to start examle, bu I got error while compiling: image I used the dev branch of this project.

calebwin commented 4 years ago

Sorry about this. The dev branch is the old version of Emu which you might be able to get it to compile. But I'm currently focusing all the time I spend on Emu on the newest version (crate link). If you have issues compiling that, please do let me know. Thanks.

PerfectStepCoder commented 4 years ago

Ok. So, I have some error while complining emu_macro. Look ar this image, please: image

calebwin commented 4 years ago

Sorry but both emu_macro and em are part of the older version. The newest version is emu_core.

PerfectStepCoder commented 4 years ago

I see, ok. I am intrested in your project. I will text you late, becouse now it is too late in Seattle.