repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git]
/
libclc
/
generic
/
lib
/
workitem
/
get_global_id.cl
blob
ccd84d9d833019b8bbe8f4e0bb6be7801dadc75e
1
#
include
<
clc
/
clc.h
>
2
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
)
;
5
}