open source gpu implementation