Recently I query the device info of AMD APU A10 7850K in OpenCL by "clinfo", as the results show, both the integrated CPU and the GPU has "16384" Bytes "Cache size". I am confused with the results because of two things:
1) For the CPU, it has 4MB L2 data cache in total and 4x16KB=64KB L1 cache in total. Why the result shows 16384B=16KB? Could it be the L1 cache size of each CPU? That does not make sense because as OpenCL specs say: it should be "Size of global memory cache in bytes", that is L2 cache size.
2) What the value mean to the GPU? Is it the L1 cache for the GPU? or it is the shared L2 cache with the CPU?
I am really confused with these issues. Maybe it is just my misunderstanding? Thanks!