[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git] / libclc / generic / lib / workitem / get_global_id.cl
blobccd84d9d833019b8bbe8f4e0bb6be7801dadc75e
1 #include <clc/clc.h>
3 _CLC_DEF _CLC_OVERLOAD size_t get_global_id(uint dim) {
4 return get_group_id(dim) * get_local_size(dim) + get_local_id(dim) + get_global_offset(dim);