A non-programmer uses the intel compiler to make a fractal generator WAY FASTER (read description)

Channel:
Subscribers:
1,290
Published on ● Video Link: https://www.youtube.com/watch?v=Ud0EK9QedLQ



Duration: 2:47
36 views
1


So, I was watching this video here - https://www.youtube.com/watch?v=PBvLs88hvJ8
and I was thinking to myself, huh, i'm not a programmer, i bet i can make this faster.

So i loaded up the code in visual studio 2019 and did some compiler option magic with some intel tools.

I ended up making it faster. The goal was to get as many iterations in a 0.1 second limit. that's why i was raising it slowly as it got closer to it. i wanted the last iteration number where it wouldn't go under 0.1 seconds.

You might be asking "what code did you change?"
my answer is "none"
i didn't change anything in the code. i just manually iterated over the code with different compiler flags until it was faster. well, that is a tiny lie, i added like 4 pragma things like ivdep and parallel and loop count min(number) things. I would profile it with vtune after each compile and see if things were looking better for threading, among other things.

This was all just done on a 5GHz all core set 8700K.