summaryrefslogtreecommitdiffhomepage
path: root/example/example_06_nectar_gpu/example.nc
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2026-03-07 05:27:05 +0100
committerGitHub <noreply@github.com>2026-03-07 05:27:05 +0100
commit7c7671047a8f43166922491d942067a4ae0f53f6 (patch)
tree528813829a5b14c3b1ec74935801fdf5dd625ecd /example/example_06_nectar_gpu/example.nc
parent7cfd0aa54b9ed579887de0e3baf0eb9189087982 (diff)
parent4b1fa0627812e854c8bba2200dd2d8d439e80bbb (diff)
Merge pull request #62 from ne-foss-org/nectar-gpu-example-update
[CHORE] Update example.nc
Diffstat (limited to 'example/example_06_nectar_gpu/example.nc')
-rw-r--r--example/example_06_nectar_gpu/example.nc8
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;
}