how a linux daemon can interact with cuda program ? how interact linux C libc code and cuda C code


I have wrote in C a little linux daemon with libc instructions and i wondered how the code of my daemon could interact with a cuda code ?
for exemple daemon send or receive data from GPU ; Can i include cuda instructions from an entry point cuda code in my libc code for stay only 1 application .
is there a way to do it ? does anyone have reference site .

thank you