Re:What I wish someone had told me about tensor computation ...
by dragandj on Tuesday December 15, 2020 @06:52PM
(#25437084)
If only C++ supported interactive REPL and the rest of Clojure/Lisp goodies, that might be possible.
However, the code is CLOSELY related to the actual CUDA/C++ api. It's a lot simpler, concise, and everything, but I explain everything so that you can use the relevant parts with cuDNN and DNNL APIs in any language that you're most proficient in.
[ Parent
| on HN ]
Re:What I wish someone had told me about tensor computation ...
by dekhn on Tuesday December 15, 2020 @07:30PM
(#25437435)
Does Cling C++ interpreter do what you want? https://github.com/root-project/cling
Re:What I wish someone had told me about tensor computation ...
by dragandj on Tuesday December 15, 2020 @07:44PM
(#25437553)
Clojure does what I want.
Perhaps Cling can do something, or not, but I guess that's up to people who prefer Cling to find out and utilize.
Re:What I wish someone had told me about tensor computation ...
by patrec on Wednesday December 16, 2020 @03:03AM
(#25440158)
Have you used it? When I last tried Cling not that long ago, it wasn't even alpha quality software and given that it has been around for a while, my default assumption would be that this hasn't suddenly improved.
Re:What I wish someone had told me about tensor computation ...
by dekhn on Wednesday December 16, 2020 @10:04AM
(#25443365)
it's used by ROOT at CERN, so it's unlikely it's "alpha quality software" since it's being used for production science at scale.
Re:What I wish someone had told me about tensor computation ...
by godelski on Tuesday December 15, 2020 @08:47PM
(#25438036)
Thanks! That's helpful to know. I have no experience with Clojure/Lisp but a fair amount with C/C++ (minor in CUDA).
Re:What I wish someone had told me about tensor computation ...
by dragandj on Tuesday December 15, 2020 @09:17PM
(#25438222)
Please read a few of tutorials from my blog. Most programmers in your situation told me that they had no problems following it; it only gradually introduces advanced Clojure concepts, and code snippets are usually extremely short + completely executable interactively as-is.
Re:What I wish someone had told me about tensor computation ...
by josh2600 on Tuesday December 15, 2020 @10:19PM
(#25438661)
This is a great site. A few pieces of unsolicited feedback from a marketing perspective:
* Always have the call to action repeated at the bottom of the page; you did a great job having it above the fold, but I got to the end and had to scroll back up to express intent. That's a flowbreaking design.
* This is purely stylistic, but I strongly prefer the first letter of each line to be capitalized. I find the stylistic inconsistency around capitalization offputting.
* You have pretty nicely made docs, consider making the link to view the sample chapters a clickable picture of the first diagram-page in your chapter.
Thanks for making this!
Re:What I wish someone had told me about tensor computation ...
by godelski on Wednesday December 16, 2020 @12:40AM
(#25439468)
Thanks! I have this slated in my to-do tabs (which I actually do lol). Just looking through it looks like you did a lot of work and took a lot of time for this so just wanted to say thanks.