partiall workin cuda version