[libc++][Android] BuildKite CI: update Clang and sysroot versions (#116151)
[llvm-project.git] / libclc / r600 / lib / workitem / get_work_dim.cl
blobe18a83b8dd95bdca4bb0583f9e1764a082d3a848
1 #include <clc/clc.h>
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];