---
# System prepended metadata

title: Backend implementation of Regions in GTC
tags: [regions, cycle 4]

---

# Backend implementation of Regions in GTC
###### tags: `cycle 4` `regions`  

*Prepared by: Johann*

## Appetite

Half a cycle (6 weeks) for 1 dev

---

## Problem

In a previous cycle the front-end feature and the integration into the IRs up to OIR, enabeling regions in GTC was developed (https://hackmd.io/IYy56OfrT-eL4UoYEq3ORw)

Since then, implementation in the GTC GridTools backends.

## Goals

The goal of this project is to fully test that, and implement regions in the `numpy`, `dace`, and `cuda` backends.

## Solution

- Expand tests for the extent analysis and resulting FieldInfo
- Merge in gtir and oir changes
- Merge in gridtools backends
- Implement in cuir and code generation
- Implement in dace-ir and test with DaCe

## Potential Rabbit Holes

The CUDA backend, to my knowledge, does not have positional computation capability.
