When compiling APARAPI generate OpenCL programs for an AMD Radeon HD 7660D
which contain variable names starting with a dollar sign ('$') flex crashes
with the message:
flex scanner jammed
I fixed this by adding a number of checks in KernelWriter and BlockWriter
before variable names from the bytecode are emitted into the generated OpenCL
kernels, and transforming '$' into 'aparapi_generated_'. Diffs for those files
are attached.
Original issue reported on code.google.com by jmaxg3@gmail.com on 11 Jan 2013 at 3:58
Original issue reported on code.google.com by
jmaxg3@gmail.com
on 11 Jan 2013 at 3:58Attachments: