mirror of
https://codeberg.org/ziglang/zig
synced 2026-11-18 07:05:05 +00:00
sample command: /home/guw/github/zig/stage2/bin/zig build-obj cuda_kernel.zig -target nvptx64-cuda -O ReleaseSafe this will create a kernel.ptx expose PtxKernel call convention from LLVM kernels are `export fn f() callconv(.PtxKernel)`
1727 lines
60 KiB
1727 lines
60 KiB