I want to call a function written in CUDA(C++) from python and pass to it numpy arrays as input and get output arrays from this function. Is this possible? This is the sole objective of this question.
ps : As I understand if such a function were to be made into a proper program and compiled into an executable then it could be called from python as a shell command. However how could I pass and get arrays as inputs and outputs without using files?