Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PTX support, take 2 #38559

Merged
merged 2 commits into from
Dec 30, 2016
Merged

PTX support, take 2 #38559

merged 2 commits into from
Dec 30, 2016

Commits on Dec 27, 2016

  1. 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.
    Jorge Aparicio committed Dec 27, 2016
    Configuration menu
    Copy the full SHA
    18d4928 View commit details
    Browse the repository at this point in the history
  2. fix ui test

    Jorge Aparicio committed Dec 27, 2016
    Configuration menu
    Copy the full SHA
    aac5ff7 View commit details
    Browse the repository at this point in the history