goto statements in OpenCL
Are goto statements supported in OpenCL?
I saw few posts regarding this but they seem to be pretty old. I am hoping to see if there are any updates. To provide some context, I am thinking of using a finite state machine C code on the GPU side that is runtime generated (on the CPU side) based on a given regex and this code has goto statements.
Please let me know.
I cannot find anything in standart about goto being restricted in relation to normal C. It might perform very poorly on GPUs, though, but I assume you're aware of that.
Tags for this Thread