Skip to content
Snippets Groups Projects
Commit ed2bbb6e authored by Martin Larralde's avatar Martin Larralde
Browse files

Fix name of helper methods for `Stripe` trait

parent cf3f397d
No related branches found
No related tags found
No related merge requests found
......@@ -479,7 +479,7 @@ unsafe fn stripe_avx2<A>(
$a = _mm256_unpacklo_epi64(t, $b);
$b = _mm256_unpackhi_epi64(t, $b);
}};
};
}
// Compute sequence and matrix dimensions
let s = seq.as_ref();
......@@ -777,7 +777,7 @@ impl Avx2 {
}
#[allow(unused)]
pub fn stripe<A, S>(seq: S, matrix: &mut StripedSequence<A, <Avx2 as Backend>::LANES>)
pub fn stripe_into<A, S>(seq: S, matrix: &mut StripedSequence<A, <Avx2 as Backend>::LANES>)
where
A: Alphabet,
S: AsRef<[A::Symbol]>,
......
......@@ -4,10 +4,13 @@ use typenum::marker_traits::Unsigned;
use super::Backend;
use crate::abc::Alphabet;
use crate::num::StrictlyPositive;
use crate::pli::Encode;
use crate::pli::Maximum;
use crate::pli::Score;
use crate::pli::Stripe;
use crate::pli::Threshold;
/// A marker type for the generic implementation of the pipeline.
#[derive(Clone, Debug, Default)]
......@@ -19,6 +22,10 @@ impl Backend for Generic {
impl<A: Alphabet> Encode<A> for Generic {}
impl<A: Alphabet, C: NonZero + Unsigned> Score<A, C> for Generic {}
impl<A: Alphabet, C: StrictlyPositive> Score<A, C> for Generic {}
impl<C: NonZero + Unsigned> Maximum<C> for Generic {}
impl<C: StrictlyPositive> Maximum<C> for Generic {}
impl<A: Alphabet, C: StrictlyPositive> Stripe<A, C> for Generic {}
impl<C: StrictlyPositive> Threshold<C> for Generic {}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment