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 copysign(const_array_ref x, const_array_ref y, const execution_context &context, array *out=nullptr)
Compose an array from the magnitude of one and the sign of another.
array is_nan(const_array_ref x, const execution_context &context, array *out=nullptr)
Test element-wise whether an array holds values that are not numbers.
array is_inf(const_array_ref x, const execution_context &context, array *out=nullptr)
Test element-wise whether an array holds infinite values.
array sign_bit(const_array_ref x, const execution_context &context, array *out=nullptr)
Test element-wise whether the sign bit of an array is set.
array is_finite(const_array_ref x, const execution_context &context, array *out=nullptr)
Test element-wise whether an array holds finite values.