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

Function getL2CacheSize

src/backend/oneapi/platform.cpp:526–528  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

524}
525
526size_t getL2CacheSize(const sycl::device& device) {
527 return device.get_info<sycl::info::device::global_mem_cache_line_size>();
528}
529
530unsigned getComputeUnits(const sycl::device& device) {
531 return device.get_info<sycl::info::device::max_compute_units>();

Callers 1

joinFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected