Skip to content
This repository has been archived by the owner on Mar 3, 2020. It is now read-only.

warpReduceMin #1

Open
lns opened this issue Sep 6, 2015 · 0 comments
Open

warpReduceMin #1

lns opened this issue Sep 6, 2015 · 0 comments

Comments

@lns
Copy link

lns commented Sep 6, 2015

/// Finds the minimum `val` across the warp
template <typename T>
__device__ __forceinline__ T warpReduceMin(T val) {
  return warpReduce<T, Max<T> >(val, Min<T>());
}

should be

  return warpReduce<T, Min<T> >(val, Min<T>());

right?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant