This commit is contained in:
Chao Liu
2021-08-16 21:01:33 +00:00
parent 16effa767c
commit 67ad47e7c1
14 changed files with 63 additions and 69 deletions

View File

@@ -28,13 +28,7 @@ struct minus
__host__ __device__ constexpr T operator()(T a, T b) const { return a - b; }
};
template <typename T>
struct multiplies
{
__host__ __device__ constexpr T operator()(T a, T b) const { return a * b; }
};
struct multiplies_v2
{
template <typename A, typename B>
__host__ __device__ constexpr auto operator()(const A& a, const B& b) const