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 trunc(const_array_ref x, const execution_context &context, array *out=nullptr)
Round the elements of an array towards zero.
array round(const_array_ref x, const execution_context &context, array *out=nullptr)
Round the elements of an array to the nearest integer.
array ceil(const_array_ref x, const execution_context &context, array *out=nullptr)
Round the elements of an array upwards.
array floor(const_array_ref x, const execution_context &context, array *out=nullptr)
Round the elements of an array downwards.