Some Python and C stuff code to run on GPU