AMDGPU: Implement get_global_offset builtin
Also fix get_global_id to consider offset
No idea how to add this for ptx, so they are stuck with the old get_global_id
implementation.
v2: split to a separate patch
v3: Switch R600 to use implictarg.ptr
Signed-off-by:
Jan Vesely <jan.vesely@rutgers.edu>
llvm-svn: 276443
Loading
Please register or sign in to comment