@albanD
Yes I have everything on cuda device as you mentioned, but still the same error. But thanks anyway for prompt responses. May be I need to do something else to make this work (not sure right now).