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

Method device

src/api/cpp/array.cpp:1064–1068  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1062
1063template<>
1064AFAPI void *array::device() const {
1065 void *ptr = nullptr;
1066 AF_THROW(af_get_device_ptr(&ptr, get()));
1067 return ptr;
1068}
1069
1070// array_proxy instanciations
1071#define TEMPLATE_MEM_FUNC(TYPE, RETURN_TYPE, FUNC) \

Callers

nothing calls this directly

Calls 2

af_get_device_ptrFunction · 0.50
getFunction · 0.50

Tested by

no test coverage detected