Get's the backend enum for an array. More...

Functions

AFAPI af_err af_get_backend_id (af_backend *backend, const af_array in)
 
AFAPI af::Backend getBackendId (const array &in)
 

Detailed Description

Get's the backend enum for an array.

This will return one of the values from the af_backend enum. The return value specifies which backend the array was created on.


Function Documentation

AFAPI af_err af_get_backend_id ( af_backend backend,
const af_array  in 
)
Parameters
[out]backendtakes one of the values of enum af_backend
[in]inis the array who's backend is to be queried
Returns
af_err error code
AFAPI af::Backend af::getBackendId ( const array in)
Parameters
[in]inis the array who's backend is to be queried
Returns
af_backend which is the backend on which the array is created