- #1
AIR&SPACE
- 101
- 0
I was wondering if anyone knows a fast method of finding the maximum value in a Cuda C array. I can't get max_element to work, but not sure its very fast anyways. I know I could do a for loop, but for an array with 100,000+ elements (smallest cases) it takes a lot of time (plus it has to continue through the loop even once its found what will eventually be the max value).
Anyone aware of any tricks?
Anyone aware of any tricks?