Usable demo for pycuda
remember to use numpy.type