Skip to content
Commit a82e080b authored by Jan Vesely's avatar Jan Vesely
Browse files

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: default avatarJan Vesely <jan.vesely@rutgers.edu>
llvm-svn: 276443
parent 74f02db9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment