Enabled auto API selection

Now, the user can run the code on any API with ```gpu``` tag. It means that, you don't need to specify which API you want to use. You can just use this decorator flag to make the code more portable and don't mind about which API it uses.