C
C#•3mo ago
cap5lut

vectorizable algorithms/excercises

his is not a question about how it works: I wanna learn more about vectorization and am looking for some algorithms which can be vectorized. I do not want solutions, but a list problems that can be solved and sped up using vectorization to train myself. I have same basic understanding on how it works. eg, i can write a sum algorithm, but thats more or less it because i never really had something where i could apply it and my googling skills regarding this are quite bad. so , im searching from the beginner friendly up to the advanced stuff. do u have some ideas/lists/resources, please tell me 🙂
1 Reply
viceroypenguin
viceroypenguin•3mo ago
https://adventofcode.com/2017/day/15 is highly vectorizable. not in the processing of a single number, but for doing 4 or 8 at a time https://adventofcode.com/2021/day/7 can be vectorized fairly well