cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

dukeleto
Adept I

domainOffset() on 3D streams

does it work?

The topic summary and title says it all, I think!

Can I use domainoffset on a 3D stream? I've only seen examples

using domainoffset(uint4()) . If domainOffset doesn't work for 3D streams, what should I use instead?

 

Many thanks,

 

Olivier Marsden

0 Likes
2 Replies
gaurav_garg
Adept I

Domain of execution is not yet supported for 3D streams, you can emulate the same by passing offsets to kernel.

0 Likes

Thanks for the answer. However, I'm not sure I quite understand it! By offsets, are you referring to stream.domain() ? Could you perhaps give me a one-line code example?

Thanks

 

Olivier Marsden

0 Likes