diff options
| author | gwenzek <gwenzek@users.noreply.github.com> | 2022-02-05 15:33:00 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-02-05 16:33:00 +0200 |
| commit | 0e1afb4d986c3316c6f024be50612b0a6c66777b (patch) | |
| tree | 7b2bc69ae80604165ce4d11bf72ef104d4b51f86 /src/stage1/zig0.cpp | |
| parent | fbc06f9c9151205896fb167b087506d6580946c4 (diff) | |
| download | zig-0e1afb4d986c3316c6f024be50612b0a6c66777b.tar.gz zig-0e1afb4d986c3316c6f024be50612b0a6c66777b.zip | |
stage2: add support for Nvptx target
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)`
Diffstat (limited to 'src/stage1/zig0.cpp')
0 files changed, 0 insertions, 0 deletions
