"...utils/git@developer.sourcefind.cn:OpenDAS/torchaudio.git" did not exist on "a7e93c15ce14c3ed39aa3016742660805e7875aa"
Commit 653f86ff authored by Chao Liu's avatar Chao Liu
Browse files

refactor

parent 29a118c6
...@@ -53,13 +53,9 @@ template <typename LowLengths> ...@@ -53,13 +53,9 @@ template <typename LowLengths>
__host__ __device__ constexpr auto make_merge_transform(const LowLengths& low_lengths) __host__ __device__ constexpr auto make_merge_transform(const LowLengths& low_lengths)
{ {
#if CK_EXPERIMENTAL_MERGE_USE_MAGIC_DIVISION #if CK_EXPERIMENTAL_MERGE_USE_MAGIC_DIVISION
#if 1 return make_merge_transform_v2_magic_division(low_lengths);
return Merge_v2_magic_division<LowLengths>{low_lengths};
#else
return Merge_v2r2_magic_division<LowLengths>{low_lengths};
#endif
#else #else
return Merge_v1_carry_check<LowLengths>{low_lengths}; return make_merge_transform_v1_carry_check(low_lengths);
#endif #endif
} }
...@@ -74,7 +70,11 @@ template <typename LowLengths> ...@@ -74,7 +70,11 @@ template <typename LowLengths>
__host__ __device__ constexpr auto __host__ __device__ constexpr auto
make_merge_transform_v2_magic_division(const LowLengths& low_lengths) make_merge_transform_v2_magic_division(const LowLengths& low_lengths)
{ {
#if 1
return Merge_v2_magic_division<LowLengths>{low_lengths}; return Merge_v2_magic_division<LowLengths>{low_lengths};
#else
return Merge_v2r2_magic_division<LowLengths>{low_lengths};
#endif
} }
template <typename LowLengths> template <typename LowLengths>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment