Skip to content

CL: Add support for local pointers in kernel args

Boris Brezillon requested to merge ms/cl-local-mem-size-patching into msclc-d3d12

CL kernels can be passed local pointers, but local buffers are declared using globals in DXIL, meaning that we have to define the size when generating the DXIL binary. Add extra runtime config options to allow passing the local array sizes.

This MR is based on !34 (merged) and !27 (merged).

/cc @jenatali @kusma @daniels

Edited by Boris Brezillon

Merge request reports