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
[libc++][Android] BuildKite CI: update Clang and sysroot versions (#116151)
[llvm-project.git]
/
libclc
/
r600
/
lib
/
workitem
/
get_work_dim.cl
blob
e18a83b8dd95bdca4bb0583f9e1764a082d3a848
1
#
include
<
clc
/
clc.h
>
2
3
_CLC_DEF _CLC_OVERLOAD uint get_work_dim
(
void
) {
4
__attribute__
((
address_space
(
7
)))
uint
*
ptr
=
5
(
__attribute__
((
address_space
(
7
)))
6
uint
*)
__builtin_r600_implicitarg_ptr
()
;
7
return ptr
[0];
8
}