Closed samuelburnham closed 2 years ago
I don't think that's needed. When ec-gpu-gen
is used as a dependency, it should just compile fine on the wasm32-unknown-unknown
target. Am I missing something?
@samuelburnham I've created https://github.com/filecoin-project/ec-gpu/pull/33 to make things more apparent.
This PR allows the following command to build:
It also supports the
cuda
feature, but notopencl
due to its dependency onlibc
.This would move
bellperson
'sgetrandom
dependency toec-gpu-gen
, and at least in theory would allow the former to use CUDA on Wasm. In practice it doesn't yet work due to thefs2
dependency, but if it's useful maybe that can be fixed.