Skip to content

Implement BMat16::nr_rows #58

@james-d-mitchell

Description

@james-d-mitchell
inline size_t BMat16::nr_rows() const noexcept {
  [...] 
  //// Vectorized version which doesn't work due to the absence of popcnt in
   /// simde
   // xpu16 tmp = _data, zero = simde_mm256_setzero_si256();
   // xpu16 x = (tmp != zero);
   // return simde_mm256_popcnt_epi16(x);
}

As soon as popcnt is implemented in simde

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions