Jacob Lifshay
c196b8abaa
replace horizontal_* with reduce_*
2022-03-11 14:49:06 -08:00
Jubilee
01350a222a
Merge portable-simd#203 - deantvv/add-spectral-norm
...
Add spectral_norm example from packed_simd
2022-02-01 23:17:17 -08:00
Jubilee Young
af26e3b9fd
Tear down and rewrite support for float testing
2021-12-31 14:28:14 -08:00
Jubilee Young
257fa7aa6d
Drop splats for Simd<T, _>
...
Unfortunately, splatting impls currently break several crates.
Rust needs more time to review possible mitigations, so
drop the impls for the `impl Add<T> for Simd<T, _>` pattern, for now.
2021-12-01 15:40:53 -08:00
Dean Li
861a6e85e1
Add spectral_norm example from packed_simd
2021-11-28 15:19:01 +08:00
Caleb Zulawski
4e00aa68c7
rotate_{left,right} -> rotate_lanes_{left,right}
2021-11-06 00:34:23 +00:00
Jubilee Young
ab8eec7cba
Fixup import pathing for core
...
This changes simd_swizzle! to a decl_macro to give it a path,
so it can be imported using a path and not the crate root.
It also adds various uses that were missed and adjusts paths.
2021-10-21 18:20:06 -07:00
Caleb Zulawski
37797d9c0a
simd_shuffle -> simd_swizzle
2021-10-11 13:18:59 -07:00
Caleb Zulawski
10168fb7c4
Add new swizzle API
...
Expand swizzle API and migrate existing functions. Add rotate_left, rotate_right.
Hide implementation details
Add simd_shuffle macro
2021-10-11 13:18:59 -07:00
Caleb Zulawski
34384b7a68
Add const_evaluatable_checked feature, change to_bitmask to use it, and fix existing std feature
2021-07-28 04:19:31 +00:00
Caleb Zulawski
732b7edfab
Add fmt and clippy to CI ( #147 )
...
* Add fmt and clippy to CI
* Add rust components
* Fix formatting
2021-07-23 17:43:53 -07:00
Caleb Zulawski
be96995d8d
Add portable_simd unstable feature gate ( #141 )
2021-07-19 16:13:24 -07:00
Miguel Raz Guzmán Macedo
ac749a180b
add matrix_inversion example ( #131 )
...
* add matrix_inversion example
2021-07-19 14:58:13 -07:00
miguel raz
be121c93ff
clean code vis. Jubilee's comments
2021-06-04 10:54:08 -05:00
Miguel Raz Guzmán Macedo
435d1cf7a6
Update crates/core_simd/examples/nbody.rs
...
Co-authored-by: Jubilee <46493976+workingjubilee@users.noreply.github.com>
2021-06-04 10:40:39 -05:00
miguel raz
c042f33673
clean up code, fudge approx true
2021-06-01 20:05:30 -05:00
miguel raz
70305c5fad
add main to avoid CI crash
2021-06-01 19:46:48 -05:00
miguel raz
4e86aeb7f9
finish nbody
2021-06-01 19:31:34 -05:00
miguel raz
5557907098
rewrite unaligned slice, fix output const array
2021-06-01 15:25:56 -05:00
miguel raz
f24110aa5b
collapse run_k into run
2021-06-01 12:26:29 -05:00
miguel raz
56050562f1
don't use turbofish on run
2021-06-01 12:15:37 -05:00
miguel raz
83dc5b782b
don't need clippy
2021-06-01 12:09:11 -05:00
Miguel Raz Guzmán Macedo
3c05ceec70
Update crates/core_simd/examples/nbody.rs
...
Co-authored-by: Jubilee <46493976+workingjubilee@users.noreply.github.com>
2021-05-31 18:03:55 -05:00
miguel raz
8bea3627cb
replace sum() with horizontal_sum()
2021-05-25 21:25:42 -05:00
miguel raz
ab6af37f8f
Simdf64 from attempt
2021-05-25 20:10:55 -05:00
miguel raz
2591c59ba7
fix imports
2021-05-25 20:07:20 -05:00
miguel raz
e52d51cd45
nbody example
2021-05-25 20:00:01 -05:00