Open JoshuaJakowlew opened 3 years ago
An FFI that allows you to directly call foreign functions from Futhark is still a long-term goal. It is however relatively to use the C API to take the output of a Futhark entry point and pass it to another function (there is an API function that allows you to extract a raw pointer from a Futhark array object).
As a total newbie, I'm curious about the language, but the main key for me is perfomance. Are there any packages with binds to heavily-optimised NVidia libs? Or maybe there is possibility of ffi? Core idea is great, but realisation of matrix multiplication I found in official repo list is way to slow, it even uses O(n^3) algo