Could it be that your code makes intensive use of GPU and takes a long time to execute? If so that could be the cause. Options: dedicate a GPU for processing or split up your algorithm such that each launch takes a shorter amount of time.
↧