kokkos / kokkos-tutorials

Tutorials for the Kokkos C++ Performance Portability Programming Ecosystem
https://kokkos.org
Other
301 stars 100 forks source link

Update simd warp example #80

Open pkestene opened 11 months ago

pkestene commented 11 months ago

A tentative fix for this example.

the type simd::simd<double,simd::simd_abi::cuda_warp<32>>, used in the old example, disappeared, so replaced by simd_t = Kokkos::Experimental::native_simd<double> which width/ simd size is 1 when exec space is Cuda (scalar type).