diff options
| author | 😄 Amlal El Mahrouss <amlal@nekernel.org> | 2026-03-19 05:47:13 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-19 05:47:13 +0100 |
| commit | f25ebc2161fa4d5547eb5a9050f20e907d2e94d5 (patch) | |
| tree | 122022e733052e4edc0d552c6115017380d322eb | |
| parent | c44897c1e5e3723aa8cf84b9d2afcbfb9438d964 (diff) | |
| parent | fa41a208919fa7deb0ce1f6714e35d21ac78a6ba (diff) | |
[FEAT] Add CUDA example for Nectar.
| -rw-r--r-- | example/example_06_nectar_cuda/example.nc | 10 |
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); +} + + |
