Function ec_gpu_gen::common

source ·
pub fn common() -> String
Expand description

Returns CUDA/OpenCL source-code that contains definitions/functions that are shared across fields.

It needs to be called before any other function like field or gen_ec_source is called, as it contains deinitions, used in those.