mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-02 11:44:28 +00:00
Update dot_product example import
This commit is contained in:
parent
64247a327d
commit
da3bd6d3a0
@ -6,7 +6,7 @@
|
||||
#![feature(slice_as_chunks)]
|
||||
// Add these imports to use the stdsimd library
|
||||
#![feature(portable_simd)]
|
||||
use core_simd::*;
|
||||
use core_simd::simd::*;
|
||||
|
||||
// This is your barebones dot product implementation:
|
||||
// Take 2 vectors, multiply them element wise and *then*
|
||||
|
Loading…
Reference in New Issue
Block a user