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

Function getMemoryBusWidth

src/backend/opencl/platform.hpp:88–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86size_t getHostMemorySize();
87
88inline unsigned getMemoryBusWidth(const cl::Device& device) {
89 return device.getInfo<CL_DEVICE_GLOBAL_MEM_CACHELINE_SIZE>();
90}
91
92// OCL only reports on L1 cache, so we have to estimate the L2 Cache
93// size. From studying many GPU cards, it is noticed that their is a

Callers 2

getL2CacheSizeFunction · 0.70
threadsMgtMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected