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

Function afcu_set_native_id

src/backend/cuda/platform.cpp:582–589  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

580}
581
582af_err afcu_set_native_id(int nativeid) {
583 try {
584 arrayfire::cuda::setDevice(
585 arrayfire::cuda::getDeviceIdFromNativeId(nativeid));
586 }
587 CATCHALL;
588 return AF_SUCCESS;
589}
590
591af_err afcu_cublasSetMathMode(cublasMath_t mode) {
592 try {

Callers

nothing calls this directly

Calls 2

setDeviceFunction · 0.70
getDeviceIdFromNativeIdFunction · 0.70

Tested by

no test coverage detected