restore missed gpu functionality after merge #dddd285d