[libc-commits] [libc] [libc][gpu] Add Atan2 Benchmarks (PR #104708)
via libc-commits
libc-commits at lists.llvm.org
Sun Aug 18 07:15:28 PDT 2024
================
@@ -146,10 +146,8 @@ template <typename T> class MathPerf {
cpp::numeric_limits<StorageType>::max();
public:
- typedef T Func(T);
-
template <size_t N = 1>
- static uint64_t run_throughput_in_range(Func f, int min_exp, int max_exp) {
+ static uint64_t run_throughput_in_range(T f(T), int min_exp, int max_exp) {
----------------
jameshu15869 wrote:
Yeah, using the typedef meant it couldn't take in both types of functions
https://github.com/llvm/llvm-project/pull/104708
More information about the libc-commits
mailing list