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

Function getDeviceType

src/backend/oneapi/platform.cpp:333–338  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

331size_t getHostMemorySize() { return common::getHostMemorySize(); }
332
333sycl::info::device_type getDeviceType() {
334 const sycl::device& device = getDevice();
335 sycl::info::device_type type =
336 device.get_info<sycl::info::device::device_type>();
337 return type;
338}
339
340bool isHostUnifiedMemory(const sycl::device& device) {
341 return device.has(sycl::aspect::usm_host_allocations);

Callers

nothing calls this directly

Calls 1

getDeviceFunction · 0.85

Tested by

no test coverage detected