I want to query something about Cuda
Opened this issue · 1 comments
tianyinglan commented
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 commented
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".