Comment

Comment by HalfCrimp

If you are comfortable with C++ already then look at Thrust. It's nvidia's analogue to the standard library arrived at GPU computing.

Writing and launching raw cuda kernels is too low level for me, but writing with Thrust makes it feel pretty similar to writing regular C++ code. You still need to deal with moving data from host to device and back, but that's as simple as assigning a `thrust::device_vector` to a `thrust::host_vector`

parent HalfCrimp 3 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton