Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mzmssg committed Aug 3, 2022
1 parent 19ce1d6 commit 702b132
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/python/nnfusion/executor.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ def _maybe_reserve_mem(self, device):
get_workspace_size = getattr(self.libnnf, 'get_workspace_size', None)
if get_workspace_size is None:
return None
get_workspace_size.restype = ctypes.c_int64
get_workspace_size.restype = ctypes.c_size_t
n_byte = get_workspace_size()
if not n_byte:
return None
Expand Down

0 comments on commit 702b132

Please sign in to comment.