diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2026-03-07 05:21:15 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-07 05:21:15 +0100 |
| commit | bcb5f57f14cd160fd2a77d91e1f606f702b17852 (patch) | |
| tree | 960dfd6905a98ea1903734e2d70b12f9c4123649 /example | |
| parent | 7cfd0aa54b9ed579887de0e3baf0eb9189087982 (diff) | |
[CHORE] Update example.nc
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'example')
| -rw-r--r-- | example/example_06_nectar_gpu/example.nc | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/example/example_06_nectar_gpu/example.nc b/example/example_06_nectar_gpu/example.nc index d21003c..34db3f9 100644 --- a/example/example_06_nectar_gpu/example.nc +++ b/example/example_06_nectar_gpu/example.nc @@ -1,7 +1,11 @@ -extern palloc; // parallel alloc +extern palloc; const main() { - palloc(0, 0, 0); + let type := 0; + let sz := 0; + let align := 0; + + const ptr := palloc(type, sz, align); return 0; } |
