I have faced problems since cmake disappeared from cuda TOOLKIT.
Finally, I have reached the bottom of the bottom of the well. :D
So I put an example. But, still searching for more help and optim.
So anyone facing this problem too or ave a better idea please share. Don t hold it back folks.