More work on cffi cusparse wrappers.