gpu implementation of rbc