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

OpenCL memory model mapping to Intel CPU device and HD Graphics 4000

cheng_z_Intel
Employee
384 Views

Anyone could introduce how the opencl memory model is mapping to Intel CPU device and HD Graphics?

Global Memory:

Global/Constant Memory/Data Cache:

Local Memory: this should be SLM (part of L3 cache) in HD graphics

Private Memory: this should be register files in HD graphics.

Thanks!

0 Kudos
1 Reply
Raghupathi_M_Intel
384 Views

On HD graphics:

Local memory is mapped to SLM (low latency)
Global/Constant is mapped to Main memory (graphics L3 cache)
Private data is mapped to the graphics register file but in some cases may be mapped to main memory (for large arrays etc.)

Hope this answers your question.

Thanks,
Raghu

0 Kudos
Reply