OpenCL* for CPU
Ask questions and share information on Intel® SDK for OpenCL™ Applications and OpenCL™ implementations for Intel® CPU.
Announcements
This forum covers OpenCL* for CPU only. OpenCL* for GPU questions can be asked in the GPU Compute Software forum. Intel® FPGA SDK for OpenCL™ questions can be ask in the FPGA Intel® High Level Design forum.
1719 Discussions

Size of constant memory cache

David_L_11
Beginner
496 Views

Hi,

I would like to obtain the size of the constant memory cache. So I want to ask, if there is any way how to do it, or if it is at least specified somewhere.

Many thanks for your reply.

Yours sincerely

David

0 Kudos
4 Replies
Jeffrey_M_Intel1
Employee
496 Views

Thanks for your question.  I'm gathering information and will get back to you soon.

 

0 Kudos
Jeffrey_M_Intel1
Employee
496 Views

Current architectures don't include dedicated constant cache hardware.  Global, constant, and image data all map to the same L3/LLC/eDRAM hardware.   As far as I know there is no way to query it. 

For more info: micro48-tutorial-on-intel-processor-graphics-architecture-and-programming 

Especially slide 42 of the architecture section.

0 Kudos
David_L_11
Beginner
496 Views

OK, many thanks for your reply.

0 Kudos
allanmac1
Beginner
496 Views

Those Micro48 slides are great.

David, the "Configurations" PRMs for more recent architectures are also a good source for sizes and throughputs:

https://01.org/linuxgraphics/documentation/hardware-specification-prms

0 Kudos
Reply