added api
Merge branch 'master' of https://github.com/seanewest/thrust-cat