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

I want to query something about Cuda #6

Open
tianyinglan opened this issue Jan 8, 2024 · 1 comment
Open

I want to query something about Cuda #6

tianyinglan opened this issue Jan 8, 2024 · 1 comment

Comments

@tianyinglan
Copy link

I use the cargo.toml with features like :
[features]
default = ["gwc"]
dev-graph = ["plotters", "tabbycat"]
gadget-traces = ["backtrace"]
sanity-checks = []
shplonk = []
gwc = []
cuda = ["ec-gpu-gen/cuda", "pairing/gpu"]

But my program says that:
code is inactive due to #[cfg] directives: feature = "cuda" is disabled

Is there anything missing about the code ?

@lanbones
Copy link
Contributor

lanbones commented Jan 9, 2024

It is inactive by default because "cuda" is not included in "default". You need to put it into the line 'default = ["gwc"]' if you want to code for "cuda".

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