Skip to content

Commit

Permalink
Remove old convergence workaround
Browse files Browse the repository at this point in the history
Change-Id: I996e20e4e189385fe998a4628b35163c0da559ae
  • Loading branch information
b-sumner committed May 8, 2024
1 parent f0d3396 commit 3043fb5
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions amd/device-libs/ockl/src/hostcall_impl.cl
Original file line number Diff line number Diff line change
Expand Up @@ -96,14 +96,6 @@ set_ready_flag(uint control)
CONTROL_WIDTH_READY_FLAG, 1);
}

static uint
optimizationBarrierHack(uint in_val)
{
uint out_val;
__asm__ volatile("" : "=v"(out_val) : "0"(in_val));
return out_val;
}

static ulong
pop(__global ulong *top, __global buffer_t *buffer)
{
Expand Down Expand Up @@ -290,7 +282,6 @@ __ockl_hostcall_internal(void *_buffer, uint service_id, ulong arg0, ulong arg1,
ulong arg6, ulong arg7)
{
uint me = __ockl_lane_u32();
me = optimizationBarrierHack(me);
uint low = __builtin_amdgcn_readfirstlane(me);

__global buffer_t *buffer = (__global buffer_t *)_buffer;
Expand Down

0 comments on commit 3043fb5

Please sign in to comment.