Open jjwilke opened 5 years ago
@jjwilke have you had a chance to confirm your suspicion that the conditional is incorrect?
Not yet. I foolishly believed I could quickly update CMake and then use the new CMake standalone for running my tests.
@jjwilke I'll send an email so we can coordinate getting your cmake changes in kokkos and kokkos-kernels, sorry for the delay.
The code for axpby chooses an algorithm with
std::conditional
:Unless I'm misreading the conditional, this is:
The comments indicate the the Invoke_Right version is intended for XMV with layout right... and the implementation seems to match that (CPU version, assign whole row to thread) where as the layout left version unrolls (GPU version).
Should the conditional be flipped?