N3PDF / pdfflow

PDFflow is parton distribution function interpolation library written in Python and based on the TensorFlow framework.
https://pdfflow.readthedocs.io
Apache License 2.0
8 stars 0 forks source link

Vectorized example C-API #61

Closed scarrazza closed 10 months ago

scarrazza commented 12 months ago

This should be ready, even if I don't like the way we update the fortran array.

scarlehoff commented 12 months ago

What do you mean?

But you are going to confuse people using a 0-based array in Fortran! :P

scarlehoff commented 11 months ago

I've tested it in linux and updated the readme and a few minor things (like NNPDF3.1 -> NNPDF4.0) and a typo in cffi. LGTM.

These examples won't work easily in Apple Silicon, see e.g., https://github.com/pygfx/wgpu-py/issues/190 but I honestly don't think it's that important (and the burden is on installing cffi in a way that it works I guess).