summaryrefslogtreecommitdiffhomepage
path: root/example/example_06_nectar_gpu
diff options
context:
space:
mode:
Diffstat (limited to 'example/example_06_nectar_gpu')
-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;
}