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

Function afcu_get_native_id

src/backend/cuda/platform.cpp:574–580  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

572}
573
574af_err afcu_get_native_id(int *nativeid, int id) {
575 try {
576 *nativeid = arrayfire::cuda::getDeviceNativeId(id);
577 }
578 CATCHALL;
579 return AF_SUCCESS;
580}
581
582af_err afcu_set_native_id(int nativeid) {
583 try {

Callers

nothing calls this directly

Calls 1

getDeviceNativeIdFunction · 0.85

Tested by

no test coverage detected