Skip to content

Commit

Permalink
Add proper todo description
Browse files Browse the repository at this point in the history
  • Loading branch information
egparedes committed Nov 14, 2023
1 parent bfb5653 commit bf9caa0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/gt4py/next/allocators.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,8 @@ def __gt_allocate__(
) -> core_allocators.TensorBuffer[core_defs.DeviceTypeT, core_defs.ScalarT]:
shape = domain.shape
layout_map = self.layout_mapper(domain.dims)
assert aligned_index is None # TODO
# TODO(egparedes): add support for non-empty aligned index values
assert aligned_index is None

return core_allocators.NDArrayBufferAllocator(self.device_type, self.array_ns).allocate(
shape, dtype, device_id, layout_map, self.byte_alignment, aligned_index
Expand Down

0 comments on commit bf9caa0

Please sign in to comment.