ScalaCL3: wired OpenCL conversion + flattening