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

Function afcu_set_native_id

src/api/unified/cuda.cpp:30–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28}
29
30af_err afcu_set_native_id(int nativeid) {
31 af_backend backend;
32 af_get_active_backend(&backend);
33 if (backend == AF_BACKEND_CUDA) { CALL(afcu_set_native_id, nativeid); }
34 return AF_ERR_NOT_SUPPORTED;
35}
36
37af_err afcu_cublasSetMathMode(cublasMath_t mode) {
38 af_backend backend;

Callers 1

setNativeIdFunction · 0.50

Calls 1

af_get_active_backendFunction · 0.70

Tested by

no test coverage detected