cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

ryta1203
Journeyman III

Does OpenCL use texture samplers?

Does OpenCL use the samplers or does it ONLY use global memory.

I know that for Compute Mode you don't have access to the color buffers but you do still have access to the samplers (therefore cache), so does OpenCL take advantage of this?

If so, I'm very curious how it handles the read in read out problem of using the samplers instead of the read/write of using only global memory (but not having access to cache)?

0 Likes
3 Replies
omkaranathan
Adept I

OpenCL currently use global memory only. Images will be supported in upcoming releases.

0 Likes

What do you mean when you say "images"? Do you mean that literally or just that OpenCL isn't using texture fetch to get input for the compute shader?

I'm just curious. So OpenCL right now doesn't use the cache at all?

0 Likes

Originally posted by: ryta1203 What do you mean when you say "images"? Do you mean that literally or just that OpenCL isn't using texture fetch to get input for the compute shader?

I meant texture support

 

I'm just curious. So OpenCL right now doesn't use the cache at all?

 

You are correct.

0 Likes