From fa41a208919fa7deb0ce1f6714e35d21ac78a6ba Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Thu, 19 Mar 2026 05:45:55 +0100 Subject: [FEAT] Add CUDA example for Nectar. Signed-off-by: Amlal El Mahrouss --- example/example_06_nectar_cuda/example.nc | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 example/example_06_nectar_cuda/example.nc (limited to 'example') 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); +} + + -- cgit v1.2.3