eyalroz / cuda-kat

CUDA kernel author's tools
BSD 3-Clause "New" or "Revised" License
105 stars 8 forks source link

A device-side ostream with `printf()` as its back-end #30

Closed eyalroz closed 4 years ago

eyalroz commented 5 years ago

Let's convert our on-device printing code to use a standard-library-like ostream, which at a time of our choosing will issue a printf() and clear its buffer.

Consider basing this off of: https://github.com/msharov/ustl/releases/tag/v2.8