MCPcopy Create free account
hub / github.com/arrayfire/arrayfire / getBackendId

Function getBackendId

src/api/cpp/device.cpp:34–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32}
33
34af::Backend getBackendId(const array &in) {
35 auto result = static_cast<af::Backend>(0);
36 AF_THROW(af_get_backend_id(&result, in.get()));
37 return result;
38}
39
40int getDeviceId(const array &in) {
41 int device = getDevice();

Callers

nothing calls this directly

Calls 2

af_get_backend_idFunction · 0.50
getMethod · 0.45

Tested by

no test coverage detected