• J
    PTX support · 18d49288
    Jorge Aparicio 提交于
    - `--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.
    18d49288
feature_gate.rs 60.6 KB