flow123d / bparser

A C++ library for parsing expressions with Python syntax and using SIMD for repetitive evaluation. Amortization of the interpreter overhead leads to nearly peak CPU performance..
GNU Lesser General Public License v3.0
3 stars 4 forks source link

vectorize bool operations #5

Closed jbrezmorf closed 1 year ago

jbrezmorf commented 4 years ago

In order to vectorize opeartions resulting into bool values we have to:

  1. reprezent bool values as masks (DONE)
  2. use vector functions to produce these masks

See: masking

Related to #1

jbrezmorf commented 2 years ago

Vectorization works, but bool values are not stored in compressed form. That can eat a bit more of the memory and cache space then necessary. Measure true impact before optimize that further.

jbrezmorf commented 1 year ago

Very theoretical performance impact. Closing.