diff --git a/loopy/schedule/device_mapping.py b/loopy/schedule/device_mapping.py index 9e05afcd97c16aa330672c00b104b60b1a28281f..b317135dd2db7c186d658b695d8b78f02e305b12 100644 --- a/loopy/schedule/device_mapping.py +++ b/loopy/schedule/device_mapping.py @@ -260,7 +260,7 @@ def compute_live_temporaries(kernel, schedule): live_in[idx] = live_out[idx] = live_in[idx + 1] idx -= 1 else: - raise LoopyError("unexepcted type of schedule item: %s" + raise LoopyError("unexpected type of schedule item: %s" % type(sched_item).__name__) # }}} @@ -732,7 +732,7 @@ def map_schedule_onto_host_or_device_impl(kernel): current_chunk.append(sched_item) i += 1 else: - raise LoopyError("unexepcted type of schedule item: %s" + raise LoopyError("unexpected type of schedule item: %s" % type(sched_item).__name__) if current_chunk and schedule_required_splitting: