Sample Codes on functioning of cuda libraries