summaryrefslogtreecommitdiffhomepage
path: root/example/example_06_nectar_cuda/example.nc
diff options
context:
space:
mode:
Diffstat (limited to 'example/example_06_nectar_cuda/example.nc')
-rw-r--r--example/example_06_nectar_cuda/example.nc8
1 files changed, 8 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..6a25d3b
--- /dev/null
+++ b/example/example_06_nectar_cuda/example.nc
@@ -0,0 +1,8 @@
+import cudaMalloc;
+
+const main()
+{
+ let ptr := 0;
+ let sz := 8;
+ cudaMalloc(ptr, sz);
+}