fix a rand_pos bug in cudabsoperator but probelm is still not solved