3 ms·
You can look at examples from DyNet (https://dynet.readthedocs.io/en/latest/cpp_basic_tutorial.html https://dynet.readthedocs.io/en/latest/cpp_basic_tutorial.ht
by valedra 8y ago
You can look at examples from DyNet (https://dynet.readthedocs.io/en/latest/cpp_basic_tutorial.html https://dynet.readthedocs.io/en/latest/cpp_basic_tutorial.ht...) or the C++ Pytorch bindings (https://pytorch.org/cppdocs/ https://pytorch.org/cppdocs/). I would strongly recommend python though, as most deep learning work is done with it.
- jdonaldson 8y agoSeconding this. Keep in mind you're not in a "normal" C environment when dealing with GPUs. It's a profoundly negative experience dealing with chip manufacturers (Nvidia) that push proprietary hardware and actively thwart your efforts at producing stable and correct code. It made me realize why Linus had such animosity towards them.
- Pica_soO 8y agoWelcome to embedded hell. Im just going to solder this pins together, and leave you this handcrafted compiler - which is actually just a normal c-compiler, with alot of the normal operations not working or replaced with - undocumented- and well you will find out. GFX Cards are just a thousand embedded controllers, glued to a pipeline.