-
Notifications
You must be signed in to change notification settings - Fork 915
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace thrust::max_element with thrust::reduce in strings findall_re (…
…#7428) This is a cleanup of `findall.cu` to change from using `thrust::max_element` to the more efficient `thrust::reduce` with a `thrust::maximum` operator. This also changes `device_vector` usage to `device_uvector` and adds more `const` to variable decls. Authors: - David (@davidwendt) Approvers: - Karthikeyan (@karthikeyann) - Conor Hoekstra (@codereport) URL: #7428
- Loading branch information
1 parent
d4583ec
commit 49f6857
Showing
1 changed file
with
32 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters