This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

accelerator

hi
i have a routing protocol and am supposed to create an accelerator to minimize time and energy consumption .
my accelerator is supposed to calculate the distance between a cluster head and a normal cluster
initially i created a function called distance with the cluster coordinate as input and the distance as output.
now am trying to substitute this function with an accelerator and my problems now are

1/ how can i send the cluster coordinate to my accelerator as input
2/ how can i get the output of my accelerator and reuse it in my c.code

please help me
thank you

0