Commit 0bc72398 authored by Ondrej Mosnáček's avatar Ondrej Mosnáček

[OpenCL] Use global fence with oneshot barriers

These were replaced with local memory ones (probably accidentally) in
commit 03e96e0d.
parent f14af90a
Pipeline #12962846 passed with stages
in 51 minutes and 23 seconds
......@@ -640,7 +640,7 @@ __kernel void argon2_kernel_oneshot_precompute(
mem_curr += lanes;
}
barrier(CLK_LOCAL_MEM_FENCE);
barrier(CLK_GLOBAL_MEM_FENCE);
}
mem_curr = mem_lane;
......@@ -845,7 +845,7 @@ __kernel void argon2_kernel_oneshot(
mem_curr += lanes;
}
barrier(CLK_LOCAL_MEM_FENCE);
barrier(CLK_GLOBAL_MEM_FENCE);
#if ARGON2_TYPE == ARGON2_I || ARGON2_TYPE == ARGON2_ID
if (thread == 2) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment