This is more a question of semantics.
In XCode, __global and global are syntax highlighted the same. __kernel and kernel are syntax highlighted the same.
What is the difference between __global vs global and __kernel vs kernel? Are they the same?
There is no difference.
By manual for __global:
The address space names without the __ prefix i.e. global, local, constant and private may be substituted for the corresponding address space names with the __ prefix.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With