-
-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add portable_simd support * Implement rand features for portable_simd * Fix rand implementation * features: add dependency from portable_simd to std * inline(always) more operations * chore(portable_simd): update to the latest nightly --------- Co-authored-by: Sébastien Crozet <[email protected]>
- Loading branch information
Showing
6 changed files
with
1,795 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,21 +13,21 @@ jobs: | |
check-fmt: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Check formatting | ||
run: cargo fmt -- --check | ||
- uses: actions/checkout@v2 | ||
- name: Check formatting | ||
run: cargo fmt -- --check | ||
build-native: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Build --no-default-feature | ||
run: cargo build --no-default-features; | ||
- name: Build libm only | ||
run: cargo build --no-default-features --features libm; | ||
- name: Build (default features) | ||
run: cargo build; | ||
- name: Build all features except cuda,libm | ||
run: cargo build --features wide,rkyv-serialize,serde_serialize,partial_fixed_point_support; | ||
- uses: actions/checkout@v2 | ||
- name: Build --no-default-feature | ||
run: cargo build --no-default-features; | ||
- name: Build libm only | ||
run: cargo build --no-default-features --features libm; | ||
- name: Build (default features) | ||
run: cargo build; | ||
- name: Build all features except libm | ||
run: cargo build --features wide,rkyv-serialize,serde_serialize,partial_fixed_point_support; | ||
build-wasm: | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
@@ -49,19 +49,4 @@ jobs: | |
- name: build x86_64-unknown-linux-gnu | ||
run: xargo build --verbose --no-default-features --target=x86_64-unknown-linux-gnu; | ||
- name: build x86_64-unknown-linux-gnu --features libm | ||
run: xargo build --verbose --no-default-features --features libm --target=x86_64-unknown-linux-gnu; | ||
build-cuda: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: Jimver/[email protected] | ||
- name: Install nightly-2021-12-04 | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
toolchain: nightly-2021-12-04 | ||
override: true | ||
- uses: actions/checkout@v2 | ||
- run: rustup target add nvptx64-nvidia-cuda | ||
- run: cargo build --no-default-features --features cuda | ||
- run: cargo build --no-default-features --features cuda --target=nvptx64-nvidia-cuda | ||
env: | ||
CUDA_ARCH: "350" | ||
run: xargo build --verbose --no-default-features --features libm --target=x86_64-unknown-linux-gnu; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.