kokkos / kokkos-tutorials

Tutorials for the Kokkos C++ Performance Portability Programming Ecosystem
Other
286 stars 96 forks source link

Update simd warp example #80

Open pkestene opened 10 months ago

pkestene commented 10 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).