You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.
I have a host function which performs several device-based thrust::transform calls in succession. I ran a profile of my code and was surprised that it spends half its time in synchronization. Can I get it to synchronize only after the last transformation?
The text was updated successfully, but these errors were encountered:
rgov
changed the title
Can I disable implicit synchronization?
Can I control synchronization?
Mar 26, 2020
My solution so far is to patch synchronize_stream() in thrust/system/cuda/detail/par.h to remove the call to cudaDeviceSynchronize() and then call it on my own. This is definitely fraught with peril.
I have a host function which performs several device-based
thrust::transform
calls in succession. I ran a profile of my code and was surprised that it spends half its time in synchronization. Can I get it to synchronize only after the last transformation?The text was updated successfully, but these errors were encountered: