--------------------------------------------------------------------------- NameError Traceback (most recent call last) <ipython-input-3-6525e6ccb84a> in <module> 17 18 # Allocate memory on the GPU ---> 19 data = numpy.array(list_of_data, dtype=numpy.uint8) 20 data_gpu = drv.mem_alloc(data.nbytes) 21 output_gpu = drv.mem_alloc(len(list_of_data)*32) NameError: name 'list_of_data' is not defined