File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ AFAPI af_err af_get_backend_count(unsigned* num_backends);
4444AFAPI af_err af_get_available_backends (int * backends);
4545#endif
4646
47+ #if AF_API_VERSION >= 32
4748/* *
4849 \param[out] backend takes one of the values of enum \ref af_backend
4950 \param[in] in is the array who's backend is to be queried
@@ -52,6 +53,7 @@ AFAPI af_err af_get_available_backends(int* backends);
5253 \ingroup unified_func_getbackendid
5354 */
5455AFAPI af_err af_get_backend_id (af_backend *backend, const af_array in);
56+ #endif
5557
5658#ifdef __cplusplus
5759}
@@ -89,13 +91,15 @@ AFAPI unsigned getBackendCount();
8991AFAPI int getAvailableBackends ();
9092#endif
9193
94+ #if AF_API_VERSION >= 32
9295/* *
9396 \param[in] in is the array who's backend is to be queried
9497 \returns \ref af_backend which is the backend on which the array is created
9598
9699 \ingroup unified_func_getbackendid
97100 */
98101AFAPI af::Backend getBackendId (const array &in);
102+ #endif
99103
100104}
101105#endif
You can’t perform that action at this time.
0 commit comments