Sample: newdelete
Minimum spec: SM 3.5

This sample demonstrates dynamic global memory allocation through device C++ new and delete operators and virtual function declarations available with CUDA 4.0.

