cancel
Showing results for 
Search instead for 
Did you mean: 

OpenCL

sh2
Adept II

Restrict pointers.

It was announced that future sdk would support 'restrict' keyword.

How will 'restricted' writes  be compiled? Into one MEM_RAT instruction, or into MEM_RAT_ASK/WAIT pair as now?

Tags (1)
0 Likes
Reply
2 Replies
MicahVillmow
Staff
Staff

Restrict pointers.

In the upcoming SDK, restrict will only affect reads when paired with the 'const' keyword.
0 Likes
Reply
sh2
Adept II

Restrict pointers.

Thanks for the quick reply.

0 Likes
Reply