Added new api for testing - cpu