3 ms·
Wow! Just yesterday I was researching what options I have for programming with CUDA, having a Clojure library for it sounds lovely! How is the performance, tho
by iagooar 9y ago
Wow! Just yesterday I was researching what options I have for programming with CUDA, having a Clojure library for it sounds lovely!
How is the performance, though? Is there an impact on it, as compared to say the C bindings? I want to write a cryptocurrency miner for nVidia and performance is key there. Any inputs?
- dragandj 9y agoNo impact whatsoever! You get the full speed.
- iagooar 9y agoThis is the best news I could wish for. Cheers!
- dogma1138 9y agoEverything is compiled to MTX via NVCC(LLVM) so as long as the libraries are equivalent there should be no impact. Many of those libraries are nothing more than an interface over the existing "1st" party libraries e.g. cuBLAS so you in effect aren't going to be running unoptimized code.
- dragandj 9y agoIt is very easy to run unoptimized code despite sending everything to cuBLAS. How easy it is to make the wrong turn - that depends on the library.
- dogma1138 9y agoIndeed but that isn't language dependent, my intention was to convey that for the most part C/C++, Fortran, Coljure or anything else will run the same for the same code. Some language specifics might cause edge cases but for the most part as long as the compiler produces an identical PTX there shouldn't be any difference.
- dragandj 9y agoSure. My intention was not to correct your statement, but to clarify it a bit.