3 ms·
GPU.exec(() => 2 * 2); That's CUDA or SYCL (if you're willing to use C++).
by 0xf00ff00f 3y ago
GPU.exec(() => 2 * 2);
That's CUDA or SYCL (if you're willing to use C++).
- KeplerBoy 3y agoIt's not? When writing with CUDA you also have a lot of boilerplate and things to think about like streams, blocks, grids. The list goes on and on. To get to that level of abstraction you'd have to use something like pytorchs cuda backend.