rsnemmen/OpenCL-examples
View on GitHub ↗ ★ 228 Objective-C++
Simple OpenCL examples for exploiting GPU computing
3 mentions on Hacker News by 3 people: 0 stories, 3 comments · first 2023-06-02 · latest 2024-12-12
20082026
-
…poor example, the top hit on Google: Calculate X[i] = pow(X[i],2) in 200-ish lines of code: https://github.com/rsnemmen/OpenCL-examples/blob/master/Hell... Octave/MATLAB addresses parallelization in all of the right ways, through the…
comment by zackmorris · 2024-12-12 · in AmpereOne: Cores Are the New MHz -
…show the boilerplate. This is the OpenCL kernel from the same repo, for a more fair comparison: https://github.com/rsnemmen/OpenCL-examples/blob/master/mand... This is much more readable. OpenCL-C the language is fine: it's how you deploy…
comment by SuchAnonMuchWow · 2023-06-02 · in Lisa Su saved AMD – Now she wants Nvidia's AI crown -
…to the buffer, queueing being handled explicitly. Here's an example that illustrate what I mean: https://github.com/rsnemmen/OpenCL-examples/blob/master/mand... For comparison here is an implementation in CUDA:…
comment by belval · 2023-06-02 · in Lisa Su saved AMD – Now she wants Nvidia's AI crown