filecoin-project / ec-gpu

OpenCL code generator for finite-field arithmetic over arbitrary prime fields
Other
91 stars 61 forks source link

fix: generate OpenCL source at compile time #28

Closed vmx closed 2 years ago

vmx commented 2 years ago

The OpenCL kernel source could be generated at run-time, but with this change it makes it more similar to the CUDA version, where we need to compile the kernel at compile-time. This is to improve the symmetry between those features and should also simplify the code for future changes.

vmx commented 2 years ago

It's again one of those PRs which are easier to review with whitespace changes hidden.