Hello, I have some questions about the cache on Kaveri.
1. The L2 cache size of CPU on Kaveri is 2 x 2MB, but when I use the command clinfo, I get those information:
Device Type: CL_DEVICE_TYPE_CPU
Cache size: 16384
...
Device Type: CL_DEVICE_TYPE_GPU
Cache size: 16384
2. I get that the global memory cache size is 16KB using the function clGetDeviceInfo(..., CL_DEVICE_GLOBAL_MEM_CACHE_SIZE, ...).
I'm so confused about the 16384 and 16KB, Does it mean the L1 data cache size of the GPU or the CPU? If so, what's the size of GPU L2 cache? Does the CPU and the GPU share the same L2 cache?