[PATCH] D24715: [OpenCL] Block captured variables in dynamic parallelism - OpenCL 2.0

2016-10-05 Thread bekket mcclane via cfe-commits
mshockwave added a comment. > From this picture I don't see how the flattening itself can help us to avoid > using global memory. Surely in both cases the captures content will have to > be copied into the memory accessible for the enqueued kernel (which is a > global memory in a general case,

[PATCH] D24715: [OpenCL] Block captured variables in dynamic parallelism - OpenCL 2.0

2016-10-03 Thread bekket mcclane via cfe-commits
mshockwave removed a reviewer: bader. mshockwave updated this revision to Diff 73254. mshockwave added a comment. @Anastasia Sorry for late responding, I'd just attach a new version of patch that fixes block function use cases as normal lambda functions. But testing code is not included in this