thrust/thrust — pull request #2 by BryanCatanzaro (2012-03-12 19:33:36+00:00)
Title: tag_malloc and tag_free

I'm sure you have your own ideas about what the interface should look like for a thrust::malloc and thrust::free (in other words, I'm not offended if you don't accept this patch). Here's something that worked for me.