HIPERFIT / aplcam

Ripoff of Niels's futcam, but now with added APL
2 stars 0 forks source link

indexing error in futhark? #1

Open melsman opened 7 years ago

melsman commented 7 years ago

Problems with mystery2.apl.bug

athas commented 7 years ago

This is strictly not an error. Futhark is complaining that there is an array bounds check that it cannot get rid of, and bounds checking inside parallel sections is not supported. I think the easiest solution is to pass --unsafe to tail2futhark, which will eliminate all bounds checking in generated Futhark code.