summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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);
+}
+
+