A high-performance general-purpose compute library
backend.h File Reference

(2025-06-07 13:06:59 +0200, (build e43f595))

#include <af/defines.h>

Go to the source code of this file.

Namespaces

namespace  af

Functions

af_err af_set_backend (const af_backend bknd)
af_err af_get_backend_count (unsigned *num_backends)
af_err af_get_available_backends (int *backends)
 Returns a flag of all available backends.
af_err af_get_backend_id (af_backend *backend, const af_array in)
af_err af_get_active_backend (af_backend *backend)
af_err af_get_device_id (int *device, const af_array in)
void setBackend (const Backend bknd)
unsigned getBackendCount ()
int getAvailableBackends ()
 Returns a flag of all available backends.
af::Backend getBackendId (const array &in)
af::Backend getActiveBackend ()
int getDeviceId (const array &in)