diff options
author | 2016-05-03 19:17:20 -0800 | |
---|---|---|
committer | 2016-05-03 20:21:43 -0700 | |
commit | 47916d41d12dff93b57544c1a5d09b7dcae93d84 (patch) | |
tree | f317475a5a8a481c17a45c38b02d2651ced9327f /LICENSE | |
parent | 06cab2534f04965e9887ce3ea705154e5b1fc47d (diff) |
Change CUDAStream::GetOrCreateCompletedEvent from lazy initialization the
event to constructing the event in Init. This reduces CPU cost at bit by
avoiding a function call and mutex lock, at the expense of an allocated event
for streams that don't need them.
Change: 121444312
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions