3 ms·
"Array of structs" -> "Struct of arrays"? I guess if you generalize this transformation sufficiently you end up doing whole-program flattening like NESL and DP
by iskander 13y ago
"Array of structs" -> "Struct of arrays"?
I guess if you generalize this transformation sufficiently you end up doing whole-program flattening like NESL and DPH. Or is there a less intrusive way to pull that off?
- BruceIV 13y agoI don't think there's a less intrusive way to pull it off, but with sufficient compiler support you should be able to make it fairly transparent to the programmer.
- carterschonwald 13y agoSounds like in his case the unboxed vector soa rep might be enough, though I'd enjoy hearing more about this too. (Doing some gpu work with Haskell a bunch this fall)