News for hackers. Stuff that matters.
Re:CUDA 7.5: FP16, GPU Lambdas, GPU Instruction-Level Profiling by krapht on Friday July 10, 2015 @01:41PM (#9865488)
CUDA has been on my list of things to learn for quite some time. The ecosystem is just so much nicer than OpenCL... if I didn't have to support non-Nvidia GPUs, I'd have already gotten on the bandwagon.
Re:CUDA 7.5: FP16, GPU Lambdas, GPU Instruction-Level Profiling by dman on Friday July 10, 2015 @02:20PM (#9865739)
Ive been using OpenCL recently, and have had a pretty nice experience generally. Are there any things in particular from the CUDA ecosystem that you miss?
Re:CUDA 7.5: FP16, GPU Lambdas, GPU Instruction-Level Profiling by krapht on Friday July 10, 2015 @03:01PM (#9866044)
I don't know much about CUDA, just what I see from my co-workers who do get to use it. The Visual Studio integration looks amazing. The C++ api is cleaner. I am told there are lots of little quality-of-life API things that are better from people who have used both.
Re:CUDA 7.5: FP16, GPU Lambdas, GPU Instruction-Level Profiling by artmageddon on Friday July 10, 2015 @02:17PM (#9865723)
I have the same desire to learn it too, but the only problem is I don't know what I'd use it for :/
Re:CUDA 7.5: FP16, GPU Lambdas, GPU Instruction-Level Profiling by krapht on Friday July 10, 2015 @02:47PM (#9865931)
Any problem where you have large vectors or matrices of floats and must add, subtract, divide, or multiply on them in parallel for performance reasons. A GPU is like a miniature datacenter in your computer!

But, unlike a real datacenter, it's only good for floats. But many financial, scientific, and gaming applications are only bottlenecked by the need to crunch floats, not arbitrary data types.

My mental model of a GPU is a device that has a million billion miniature 4-function calculators inside it that can all do things at once.

Re:CUDA 7.5: FP16, GPU Lambdas, GPU Instruction-Level Profiling by bsprings on Sunday July 12, 2015 @09:17PM (#9875828)
"unlike a real datacenter, it's only good for floats." That's actually not true. You'll find integer throughput is rather high on GPUs also. And the memory bandwidth is very high too. "miniature 4-function calculators": make that 5, where the fifth function is a really fast special function unit that can do very fast sin, cos, sqrt, 1/sqrt, and many other functions.
Re:CUDA 7.5: FP16, GPU Lambdas, GPU Instruction-Level Profiling by artmageddon on Friday July 10, 2015 @03:06PM (#9866078)
Yeah, all of that makes sense. I guess I'm just in search of a problem to work on that would make it worthwhile to learn CUDA :)
Re:CUDA 7.5: FP16, GPU Lambdas, GPU Instruction-Level Profiling by krapht on Friday July 10, 2015 @03:25PM (#9866198)
If you are a web developer, you might try WebGL? Same ideas, different packaging focused on graphics. Once you get the hang of it, you've got the language paradigm to understand CUDA, OpenCL, etc.

If you write business software... I'm so sorry. But I've heard things about GPU-accelerated SQL queries? I don't know much. I've never programmed a database, ever, except small SQL queries here and there.

Re:CUDA 7.5: FP16, GPU Lambdas, GPU Instruction-Level Profiling by artmageddon on Friday July 10, 2015 @03:35PM (#9866250)
Yeah I tend to work on the latter, trying to get more on the former. I used to work in a color science company, and I wanted to see if it were possible to use CUDA for math optimizations, but the kind we did wasn't all that intense and there wasn't much traction in doing any kind of GPGPU work. I'm back in Finance now and I'm sure there are opportunities for it here, but the amount of red-tape we have here is so ridiculous(i.e. we can't even get source control for our C++ programs we manage).

I'll just have to push harder to learn :)

Re:CUDA 7.5: FP16, GPU Lambdas, GPU Instruction-Level Profiling by enos_feedler on Friday July 10, 2015 @01:55PM (#9865574)
Ugh, totally agree. They need to open source this stack and get all vendors on it. Its one of those things that is really holding back GPGPU innovation.

If you've been following Docker at all, they just did this by donating "runc" to a new effort called the open container project. NVIDIA should develop a reference x86 implementation of CUDA. Something that works great on multicore and then donate it to OpenCL or something. Or maybe OpenCL catches up soon.