Pairs the hardware resources and the dispatch strategy used to run operations.
Definition execution_context.hpp:43
Arrays, the operations on them and the devices that run those operations.
Definition cpu_device.hpp:10
array logical_and(const_array_ref x, const_array_ref y, const execution_context &context, array *out=nullptr)
Compute the element-wise conjunction of two arrays.
array logical_not(const_array_ref x, const execution_context &context, array *out=nullptr)
Compute the element-wise negation of an array.
array logical_or(const_array_ref x, const_array_ref y, const execution_context &context, array *out=nullptr)
Compute the element-wise disjunction of two arrays.
array logical_xor(const_array_ref x, const_array_ref y, const execution_context &context, array *out=nullptr)
Compute the element-wise exclusive disjunction of two arrays.