summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2026-03-19 05:45:55 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2026-03-19 05:45:55 +0100
commitfa41a208919fa7deb0ce1f6714e35d21ac78a6ba (patch)
tree122022e733052e4edc0d552c6115017380d322eb
parentc44897c1e5e3723aa8cf84b9d2afcbfb9438d964 (diff)
[FEAT] Add CUDA example for Nectar.ncsl-nectar-runtime
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
-rw-r--r--example/example_06_nectar_cuda/example.nc10
1 files changed, 10 insertions, 0 deletions
diff --git a/example/example_06_nectar_cuda/example.nc b/example/example_06_nectar_cuda/example.nc
new file mode 100644
index 0000000..4f2e430
--- /dev/null
+++ b/example/example_06_nectar_cuda/example.nc
@@ -0,0 +1,10 @@
+import cudaMalloc;
+
+const main()
+{
+ let ptr := 0;
+ let sz := 8;
+ cudaMalloc(ptr, sz);
+}
+
+