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 left_shift(const_array_ref x, const_array_ref y, const execution_context &context, array *out=nullptr)
Shift the bits of an array leftwards.
array bitwise_or(const_array_ref x, const_array_ref y, const execution_context &context, array *out=nullptr)
Compute the element-wise bitwise disjunction of two arrays.
array bitwise_and(const_array_ref x, const_array_ref y, const execution_context &context, array *out=nullptr)
Compute the element-wise bitwise conjunction of two arrays.
array bitwise_not(const_array_ref x, const execution_context &context, array *out=nullptr)
Invert the bits of every element of an array.
array bitwise_xor(const_array_ref x, const_array_ref y, const execution_context &context, array *out=nullptr)
Compute the element-wise bitwise exclusive disjunction of two arrays.
array right_shift(const_array_ref x, const_array_ref y, const execution_context &context, array *out=nullptr)
Shift the bits of an array rightwards.