Good opencl tutorials

I want to get into opencl programming because it seems pretty cool. Any good C tutorials that teach you how to use the api?

Other urls found in this thread:

youtube.com/watch?v=QA483lIvL-4
news.ycombinator.com/item?id=14383296
streamhpc.com/knowledge/for-developers/books/
twitter.com/AnonBabble

Just learn CUDA.

Is Cuda accepted on other(not Nvidia) gpus

No.
You don't need non-NVIDIA GPUs though.

Relevant to my interest.

I use Nvidia but I like to strive for the most cross platform solution

It doesn't work like that for GPUs. And since AMD is throwing money at ProRender instead of ROCm, you gotta learn CUDA.

GPGPU is CUDA unfortunatelly, there is little effort to push Apple's OpenCL forward, yes OpenCL was created by Jobs.

Frankly OpenCL sucks and barely moved forward. AMD started Boltzmann exactly because of that.

That's too bad. I was hoping for a standard similar to opengl.

OGL is also shit.
Good shit that AMD donated Mantle to Khronos, so, unsurprisingly, Vulkan is not shit.

I don't fucking care about Nvidia, give me info on OpenCL and let me work.

I'm not saying that opengl is the best, it certainly isn't, but it is widely supported.

Learn CUDA you moron or wait until AMD starts throwing dosh at ROCm.

Begone shill, this is not an Nvidia thread.

I don't care if it's Nvidia or amd. I want cross platform support like opengl. If that doesn't exist then just say so.

Holy fucking fuck you are fucking retarded.
GPGPU == CUDA until AMD will finally start throwing dosh at ROCm.
Learn fucking CUDA.

GPU for computer programming begin almost equals just create kernel function and schedule, better use CUDA more easy,more jobs,better documentation,support,debugging,even use Visual Studio plus Nvidia tools, then could jump to OpenCL.

youtube.com/watch?v=QA483lIvL-4

>OpenCL

Not going for Vulkan instead.

news.ycombinator.com/item?id=14383296

I'll keep that in mind but I would like to see some opencl resources. Cuda is easier to find.

They are not merged yet.
No shit, CUDA is 10 to 100 times more popular than OCL.

That's why I want the hard to find opencl resources.

You can do opencl on CPUs too though... OpenCL is pretty good from a specification and feature context; only slightly less strict to allow more hardware to be used (so slightly more work for pinned memory for example). Everything else that's sucks are implementations and libraries. For AMD GPUs it's a long way to go; even some BLAS libraries are slow and outdated (magma, Vienna), really hoping they will improve on those soon, then target DL/NN.

streamhpc.com/knowledge/for-developers/books/

"Programming Massively Parallel Processors"
Still begin gem even if begin CUDA centric.

That's why AMD said fuck it and launched Boltzmann aka ROCm. And since AMD is partnering with chinks and amajew ROCm will be in decent shape soon.

You aren't going to find "resources" for OpenCL. There are some things here and there, but they already assume a high level of familiarity with OpenCL.

They will be. Everything from Vulkan will be directly transferable to OpenCL 2.x. Throwing in to learning OpenCL now is like trying to figure out how an internal combustion engine works while you are developing a turbine engine. It's all backwards.

Fuck, the "primitive shader" and "surface shader" Vega introduces is a literal fuck you to both Khronos and MS.

This, fuck off shitposters.

This looks decent. Any videos with actual c examples?

Wrong. "Prim shaders" are agnostic to actual geometry and vertex shaders written in openGL just like fixed functions are. AMD is even handling how the drivers will determine the path the shaders will require as a blackbox so no one ever has to worry about it.

It's been 15 fucking years and we're still using DX9 tier shit.
And let's not talk about abortion that was geometry shader or bloat introduced by DX11 (fucking TWO hardcoded shader stages and one FF unit for tesselation alone).
Vega is literally pajeet's rage (the dude made the first DX9 GPU 15 years ago) compressed into one uarch.

No, I mean APIs are such dinosaurs AMD had to merge shit at hardware level, expose it to driver and make said driver "dumb" to finally circumvent inefficient abortions that are modern APIs.

OpenCL hell, tried compile real example, good luck, makes everything works and had support functions, spend hours on shitty doc AMD, never ever do OpenCL in Mac OS worst support even.

i keep parsing "opencl" as "open pencil".