summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
author😄 Amlal El Mahrouss <amlal@nekernel.org>2026-03-19 05:47:13 +0100
committerGitHub <noreply@github.com>2026-03-19 05:47:13 +0100
commitf25ebc2161fa4d5547eb5a9050f20e907d2e94d5 (patch)
tree122022e733052e4edc0d552c6115017380d322eb
parentc44897c1e5e3723aa8cf84b9d2afcbfb9438d964 (diff)
parentfa41a208919fa7deb0ce1f6714e35d21ac78a6ba (diff)
Merge pull request #77 from ne-foss-org/ncsl-nectar-runtimeHEADdevelop
[FEAT] Add CUDA example for Nectar.
-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);
+}
+
+