diff options
| author | Jorge Aparicio <japaricious@gmail.com> | 2016-12-22 16:24:29 -0500 |
|---|---|---|
| committer | Jorge Aparicio <japaricious@gmail.com> | 2016-12-26 21:06:23 -0500 |
| commit | 18d49288d546efaceab7c4c6d71a868b575bd00f (patch) | |
| tree | 9df84415f9655febf4372df9ad2a0a6bdaf511e0 /src/test/incremental/thinlto | |
| parent | b7e5148bbd95062ae8c5e018dec8fd44a8028e0d (diff) | |
| download | rust-18d49288d546efaceab7c4c6d71a868b575bd00f.tar.gz rust-18d49288d546efaceab7c4c6d71a868b575bd00f.zip | |
PTX support
- `--emit=asm --target=nvptx64-nvidia-cuda` can be used to turn a crate
into a PTX module (a `.s` file).
- intrinsics like `__syncthreads` and `blockIdx.x` are exposed as
`"platform-intrinsics"`.
- "cabi" has been implemented for the nvptx and nvptx64 architectures.
i.e. `extern "C"` works.
- a new ABI, `"ptx-kernel"`. That can be used to generate "global"
functions. Example: `extern "ptx-kernel" fn kernel() { .. }`. All
other functions are "device" functions.
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions
