add gpu oc 2d and 3d