search for: __builtin_amdgcn_workgroup_id

Displaying 1 result from an estimated 1 matches for "__builtin_amdgcn_workgroup_id".

2020 Apr 13
3
Are AMDGPU intrinsics available in LLVM IR ?
...------------------------------===// // ABI Special Intrinsics //===----------------------------------------------------------------------===// defm int_amdgcn_workitem_id : AMDGPUReadPreloadRegisterIntrinsic_xyz; defm int_amdgcn_workgroup_id : AMDGPUReadPreloadRegisterIntrinsic_xyz_named <"__builtin_amdgcn_workgroup_id">; There is no new definition of any intrinsics within the target AMDGPU. I was working before with the NVPTX backend and that target has the special registers are associated with strings for the LLVM IR, e.g., PTX_READ_SREG_R32<"tid.x", int_nvvm_read_ptx_sreg_tid_x>; Mayb...