constrcut types from GPU