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

Method getDevId

src/backend/common/ArrayInfo.cpp:77–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75}
76
77unsigned ArrayInfo::getDevId() const {
78 // The actual device ID is only stored in the first 8 bits of devId
79 // See ArrayInfo.hpp for more
80 return devId & 0xffU;
81}
82
83void ArrayInfo::setId(int id) const {
84 const_cast<ArrayInfo *>(this)->setId(id);

Callers 10

checkAndMigrateFunction · 0.80
ArrayMethod · 0.80
ArrayMethod · 0.80
checkAndMigrateFunction · 0.80
ArrayMethod · 0.80
checkAndMigrateFunction · 0.80
ArrayMethod · 0.80
af_get_device_idFunction · 0.80
sparse.cppFile · 0.80
releaseHandleFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected