kenba/opencl3

Replace `InfoType::to_string` calls with `From` trait calls for `cl3` version 0.5.

Closed this issue · 1 comments

kenba commented

The fix for issue kenba/cl3#11 in the cl3 repo causes some of the Program and Kernel tests to fail as the Display::to_string implementation does not remove the trailing nulls as the InfoType::to_string calls did after kenba/cl3#1.

The to_string calls should be replaced with calls to the From trait conversions.
Note: the other to_* calls should also use the cl3 From trait conversions, see kenba/cl3#12.

kenba commented

Implemented in version 0.5.3.