Lines Matching refs:ulong
623 ulong MWC_AddMod64(ulong a, ulong b, ulong M)
625 ulong v=a+b;
638 ulong MWC_MulMod64(ulong a, ulong b, ulong M)
640 ulong r=0;
654 ulong MWC_PowMod64(ulong a, ulong e, ulong M)
656 ulong sqr=a, acc=1;
666 uint2 MWC_SkipImpl_Mod64(uint2 curr, ulong A, ulong M, ulong distance)
668 ulong m=MWC_PowMod64(A, distance, M);
669 ulong x=curr.x*(ulong)A+curr.y;
674 …uint2 MWC_SeedImpl_Mod64(ulong A, ulong M, uint vecSize, uint vecOffset, ulong streamBase, ulong s…
683 ulong dist=streamBase + (get_global_id(0)*vecSize+vecOffset)*streamGap;
684 ulong m=MWC_PowMod64(A, dist, M);
686 ulong x=MWC_MulMod64(MWC_BASEID, m, M);
708 void MWC64X_Skip(mwc64x_state_t *s, ulong distance)
715 void MWC64X_SeedStreams(mwc64x_state_t *s, ulong baseOffset, ulong perStreamOffset)