TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Triangle frenzy

131 点作者 cancandan大约 3 年前

5 条评论

torrance大约 3 年前
I’ve used CUDA and Julia extensively in my work for radio astronomy imaging applications.<p>I can say it is a delight to work with. All the usual GPU tips and tricks still apply, of course, and you need to pay careful attention to sequential memory accesses and so on (as with all GPU programming). But staying in the one, high level language is a real boon, and having access to native types and methods directly in my kernels is fantastic. I can’t speak highly enough of it.<p>And for performance comparison, I see between 3-4 orders of magnitude improvement in speed, about as fast as native CUDA.
评论 #31301113 未加载
评论 #31301207 未加载
chrsig大约 3 年前
I&#x27;d be interested to see what each looks like if the allocations were done external to the benchmark. For that matter, it&#x27;d be interesting to see if after the allocations are factored out, if the same function could be used for cuda &amp; cpu. From there, I&#x27;d be curious if the compiler is able to vectorize it automatically, or if it&#x27;d benefit from a @simd<p>It&#x27;s also great to see how well cuda is supported in julia. I&#x27;ve started to pick up julia lately, and find it incredibly pleasant to work with. It feels like a lovely mix of haskell, lisp, and python, with a really nice repl.
monkeybutton大约 3 年前
Crazy to see such a similar idea kicking around 14 year later:<p><a href="https:&#x2F;&#x2F;rogerjohansson.blog&#x2F;2008&#x2F;12&#x2F;07&#x2F;genetic-programming-evolution-of-mona-lisa&#x2F;" rel="nofollow">https:&#x2F;&#x2F;rogerjohansson.blog&#x2F;2008&#x2F;12&#x2F;07&#x2F;genetic-programming-e...</a>
Athas大约 3 年前
&gt; Note that I benchmarked with --check-bounds=no, which is a startup option that you pass to Julia, when launching, that disables the performance killer “bounds checking”.<p>Why is bounds checking a performance killer?
评论 #31302325 未加载
评论 #31302285 未加载
hereforonep大约 3 年前
People should really just use a language like FUTHARK For GPU programming
评论 #31302974 未加载