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

Function getDeviceMemorySize

src/backend/cpu/platform.cpp:127–130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

125unsigned getActiveDeviceId() { return DeviceManager::ACTIVE_DEVICE_ID; }
126
127size_t getDeviceMemorySize(int device) {
128 UNUSED(device);
129 return common::getHostMemorySize();
130}
131
132size_t getHostMemorySize() { return common::getHostMemorySize(); }
133

Callers 2

getDeviceInfoFunction · 0.70
getMaxMemorySizeMethod · 0.70

Calls 1

getHostMemorySizeFunction · 0.70

Tested by

no test coverage detected