Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- __kernel void reduceURatios(__global myreal *coef, __global myreal *row, myreal ratio)
- {
- size_t gid = get_global_id(0);//line no 1
- myreal pCoef = coef[gid];//line no 2
- myreal pRow = row[gid];//line no 3
- pCoef = pCoef - (pRow * ratio);//line no 4
- coef[gid] = pCoef;//line no 5
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement