pycharm project
removed pycuda.driver.Context.attach() call that crashes PyCUDA on program exit