| 86 | size_t getHostMemorySize(); |
| 87 | |
| 88 | inline 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 |
no outgoing calls
no test coverage detected