SONAR: Direct architecture and system optimization search