codeplaysoftware / standards-proposals

Repository for publicly sharing proposals in various standards groups
Apache License 2.0
27 stars 17 forks source link

Update specialization constant to align with the module proposal #121

Open Naghasan opened 4 years ago

Naghasan commented 4 years ago

Update the specialization constant extension proposal to align with the module proposal.

This PR introduce a kernel_handler which is an optional argument to parallel_for functors and allow the user to query the value for spec constants. This could also be reused to implement other library based functionalities.

Note: the module proposal does not yet reflect the changes presented here.