I don't know what to tell you. C++ for the main program, ISPC for tight loops over linear memory. AVX instructions can do 8 floating point operations with one instruction. It can take planning to line up data correctly but pixels are an easy case. By remap I mean taking values from one range and transforming them into a different range. That means a subtraction, division, and multiplication per value.
I was able to do over 6 billion per second on a 3ghz sandy bridge core. I marveled at how fast it was. Intel processors are incredibly fast, but most software utilizes a tiny sliver of their possible performance because people still plan programs like they are using a machine from the 80s. Getting to every last flop is about linear memory, cache coherency, SIMD, and parallelism.
3
u/__Cyber_Dildonics__ Jul 06 '15
I don't know what to tell you. C++ for the main program, ISPC for tight loops over linear memory. AVX instructions can do 8 floating point operations with one instruction. It can take planning to line up data correctly but pixels are an easy case. By remap I mean taking values from one range and transforming them into a different range. That means a subtraction, division, and multiplication per value.
I was able to do over 6 billion per second on a 3ghz sandy bridge core. I marveled at how fast it was. Intel processors are incredibly fast, but most software utilizes a tiny sliver of their possible performance because people still plan programs like they are using a machine from the 80s. Getting to every last flop is about linear memory, cache coherency, SIMD, and parallelism.