Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Biao_W_
Beginner
26 Views

EU and Sampler

Hi, 

I am doing GPGPU computing for video codec applications. 

The algorithm adopted may use bi-linear filter which can take advantage of image sampler in OpenCL

However, I am not clear  however it works using underlying hardware,

say if I use sampler, will it be possible that the sampler and EU execute at the same time?

Can anyone elaborate EU and sampler's difference/relationship?

Thanks 

0 Kudos
2 Replies
26 Views

The EU is like a mini-cpu capable of performing a given operation on a given set of data. EUs can have multiple threads that help to keep the EU busy during a high latency operation. Some times, depending on what the program (shader/kernel) is doing, EUs require a texture read, for example. This is done by the sampling engine, which fetches the data (surface) from memory and filter based on filtering mode. While the EU is waiting for the sampler to return the data (called a stall), the EU can switch processing to another thread. When the data arrives, it can switch back to the original thread.

Hope this high level explanation is clear.

Thanks,
Raghu

Biao_W_
Beginner
26 Views

Raghu Muthyalampalli (Intel) wrote:

The EU is like a mini-cpu capable of performing a given operation on a given set of data. EUs can have multiple threads that help to keep the EU busy during a high latency operation. Some times, depending on what the program (shader/kernel) is doing, EUs require a texture read, for example. This is done by the sampling engine, which fetches the data (surface) from memory and filter based on filtering mode. While the EU is waiting for the sampler to return the data (called a stall), the EU can switch processing to another thread. When the data arrives, it can switch back to the original thread.

Hope this high level explanation is clear.

Thanks,
Raghu

 

Thanks for your explanation. I understand from the high level but would like to have a more detailed read.

Do you have something whitepaper introduce the sampling engine, Intel GPU in particular?