A high-performance general-purpose compute library
Deprecated List
Global af::alloc (const size_t elements)
Use allocV2 instead. allocV2 accepts number of bytes instead of number of elements and returns a cl_mem object instead of the cl::Buffer object for the OpenCL backend. Otherwise the functionallity is identical to af::alloc.
Global af::alloc (const size_t elements, const dtype type)
Use allocV2 instead. allocV2 accepts number of bytes instead of number of elements and returns a cl_mem object instead of the cl::Buffer object for the OpenCL backend. Otherwise the functionallity is identical to af::alloc.
Global af::alltrue (const array &in)
Use af::allTrue(const array&) instead
Global af::alltrue (const array &in, const int dim=-1)
Use af::allTrue instead
Global af::anytrue (const array &in)
Use af::anyTrue(const array&) instead
Global af::anytrue (const array &in, const int dim=-1)
Use af::anyTrue instead
Global af::colorspace (const array &image, const CSpace to, const CSpace from)
Use colorSpace instead
Global af::cov (const array &X, const array &Y, const bool isbiased=false)
Use af::cov(const array&, const array& const af_var_bias)
Global af::devicecount ()
Use getDeviceCount() instead
Global af::deviceget ()
Use getDevice() instead
Global af::deviceprop (char *d_name, char *d_platform, char *d_toolkit, char *d_compute)
Use deviceInfo instead
Global af::deviceset (const int device)
Use setDevice() instead
Global af::filter (const array &image, const array &kernel)
Use af::convolve instead
Global af::free (const void *ptr)
Use af::freeV2 instead. af_alloc_device_v2 returns a cl_mem object instead of the cl::Buffer object for the OpenCL backend. Otherwise the functionallity is identical
Global af::gaussiankernel (const int rows, const int cols, const double sig_r=0, const double sig_c=0)
Use gaussianKernel instead
Global af::histequal (const array &in, const array &hist)
Use histEqual instead
Global af::loadimage (const char *filename, const bool is_color=false)
Use loadImage instead
Global af::mul (const array &in)
Use product instead
Global af::mul (const array &in, const int dim=-1)
Use product instead
Global af::saveimage (const char *filename, const array &in)
Use saveImage instead
Global af::setintersect (const array &first, const array &second, const bool is_unique=false)
Use setIntersect instead
Global af::setunion (const array &first, const array &second, const bool is_unique=false)
Use setUnion instead
Global af::setunique (const array &in, const bool is_sorted=false)
Use setUnique instead
Global af::stdev (const array &in, const dim_t dim=-1)
Use af::stdev that takes af_var_bias instead
Global af::stdev (const array &in)
Use af::stdev that takes af_var_bias instead
Global af::var (const array &in, const bool isbiased=false, const dim_t dim=-1)
Use af::var that takes af_var_bias instead
Global af::var (const array &in, const bool isbiased=false)
Use af::var that takes af_var_bias instead
Global af_alloc_device (void **ptr, const dim_t bytes)
Use af_alloc_device_v2 instead. af_alloc_device_v2 returns a cl_mem object instead of the cl::Buffer object for the OpenCL backend. Otherwise the functionallity is identical
Global af_cov (af_array *out, const af_array X, const af_array Y, const bool isbiased)
Use af_cov_v2 instead
Global af_free_device (void *ptr)

Use af_free_device_v2 instead. The new function handles the new behavior of the af_alloc_device_v2 function.

Global af_stdev (af_array *out, const af_array in, const dim_t dim)
Use af_stdev_v2 instead
Global af_stdev_all (double *real, double *imag, const af_array in)
Use af_stdev_all_v2 instead
Global af_var (af_array *out, const af_array in, const bool isbiased, const dim_t dim)
Use af_var_v2 instead
Global af_var_all (double *realVal, double *imagVal, const af_array in, const bool isbiased)
Use af_var_all_v2 instead