cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

humasama
Adept I

cache on Kaveri

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?


0 Likes
1 Solution
dipak
Staff

The above numbers reflect L1 data cache size. On Kaveri, L1 data cache size is 16KB per CPU core and 16KB per GPU CU/core.

Kaveri has separate CPU and GPU L2 cache. L2 cache size of the CPU and GPU are 4MB and 512KB respectively.

[http://www.tomshardware.com/reviews/a10-7850k-a8-7600-kaveri,3725-3.html]

Regards,

View solution in original post

0 Likes
1 Reply
dipak
Staff

The above numbers reflect L1 data cache size. On Kaveri, L1 data cache size is 16KB per CPU core and 16KB per GPU CU/core.

Kaveri has separate CPU and GPU L2 cache. L2 cache size of the CPU and GPU are 4MB and 512KB respectively.

[http://www.tomshardware.com/reviews/a10-7850k-a8-7600-kaveri,3725-3.html]

Regards,

0 Likes