Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions cunumeric/runtime.py
Original file line number Diff line number Diff line change
Expand Up @@ -577,12 +577,12 @@ def create_unbound_thunk(

def is_eager_shape(self, shape: NdShape) -> bool:
volume = calculate_volume(shape)
# Newly created empty arrays are ALWAYS eager
if volume == 0:
return True
# If we're testing then the answer is always no
if self.args.test_mode:
return False
# Newly created empty arrays are ALWAYS eager
if volume == 0:
return True
if len(shape) > LEGATE_MAX_DIM:
return True
if len(shape) == 0:
Expand Down