Interface to hardware acceleration