Commit 4f89949f authored by Hsing-Yin Chang's avatar Hsing-Yin Chang
Browse files

initialize ctx as None

parent 39d8d75e
......@@ -51,7 +51,7 @@ class SpinifelContexts(metaclass=Singleton):
self._mpi_initialized = False
self._dev_id = 0
self._cuda_initialized = False
self.ctx = None
def init_mpi(self):
"""
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment