This code:
integer :: g_i, w_i !$acc parallel num_gangs(3) num_workers(2) vector_length(1) !$acc loop independent gang do g_i = 1, 3 !$acc loop indepen