How to pass a python function to CUDA C code ?

Hello,

With Boost C++ binding, we can pass python function to some C++ code and C++ can then evaluate it (through pointers).

Wondering how can we can do the same, the function python function can be sent to CUDA C, so CUDA C can use the python function (it can be cython code…compiled in C)

Thanks, regards