Skip to content

Add vectorized algorithm for forest mean/variance in aarch64/riscv #3431

@david-cortes-intel

Description

@david-cortes-intel

Vectorization for calculations of mean/variance in random forests was recently added with this PR:
#3362

It doesn't quite work like the rest of the vectorized codepaths, as it involves non-trivial reductions and keeping of aggregates that require knowing the size of the simd lanes apriori:

I guess that perhaps other architectures might have instructions that could be used to vectorize those operations, but I am not familiar with them so I made the PR to only use vectorized paths on x86, with different parameters for avx2 and avx512 according to what they can do.

Aim of this issue is to add vectorization for other architectures that might support it, with conditional ifdefs to make them use the right constants.

CC @rakshithgb-fujitsu @theComputeKid @keeranroth

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions