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

Function isHostUnifiedMemory

src/backend/oneapi/platform.cpp:340–342  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

338}
339
340bool isHostUnifiedMemory(const sycl::device& device) {
341 return device.has(sycl::aspect::usm_host_allocations);
342}
343
344bool OneAPICPUOffload(bool forceOffloadOSX) {
345 static const bool offloadEnv = getEnvVar("AF_ONEAPI_CPU_OFFLOAD") != "0";

Callers 2

getDeviceInfoFunction · 0.85
OneAPICPUOffloadFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected