Skip to content

Commit

Permalink
[SYCL][Doc] Tweaked description of constraints
Browse files Browse the repository at this point in the history
Signed-off-by: John Pennycook <john.pennycook@intel.com>
  • Loading branch information
Pennycook committed Sep 23, 2020
1 parent 282634f commit c3165ad
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ Using functions from the group algorithms library inside of a kernel may introdu

It is undefined behavior for any of these functions to be invoked within a +parallel_for_work_group+ or +parallel_for_work_item+ context, but this restriction may be lifted in a future version of the proposal.

All restrictions on acceptable group types, input types and function objects must be implemented as constraints.
A number of the restrictions regarding the types of parameters that are acceptable for each algorithm must implemented as constraints: group arguments must be of a supported group class type; binary operations must be one of the group algorithms function objects; pointer arguments must be pointers to fundamental data types; and value arguments must be scalar fundamental data types (or vectors of those types).

==== Vote

Expand Down

0 comments on commit c3165ad

Please sign in to comment.