Please login or register.

Login with username, password and session length
Advanced search  


Visit our home page for VL info. For support and documentation, visit the Vector Linux Knowledge Center or search the Knowledge Center and this Forum using the search box above.

Author Topic: Any linux GPU coder here ?  (Read 3565 times)


  • Member
  • *
  • Posts: 7
Any linux GPU coder here ?
« on: February 08, 2010, 05:26:27 pm »

any linux GPU coder here ?
(cuda opencl or ADM/ATI stream)



  • Member
  • *
  • Posts: 7
Re: Any linux GPU coder here ?
« Reply #1 on: February 24, 2010, 07:46:56 am »

i got both working CUDA and OpenCL it's realy fun
12 parallel units with 96 cores x 1000 threads per core unbelievable but true.
(first tests are photon mapping with FreeBASIC win and lin)

the most CUDA things will work as OpenCL too.
OpenCL is my first choice is will run on win, lin, mac
and it supports NVIDIA and ATI/AMD devices.

if you have a NVIDIA card and use the AMD/ATI OpenCL too
you enumerate two OpenCL devices one is the real NVIDIA GPU
and the second the host CPU.

(the NVIDA OpenCL runtime hasn't support for GPU emulation on host CPU.)

happy number crunching

« Last Edit: February 24, 2010, 07:50:08 am by DJLinux »


  • Packager
  • Vectorian
  • ****
  • Posts: 682
Re: Any linux GPU coder here ?
« Reply #2 on: February 25, 2010, 01:54:37 am »

I've tried to code some basic examples using CUDA (  seems a good site for learning)
but my interest shifted then to distributed programming with erlang.

Btw, I never tried OpenCL.  Is it somewhat related to OpenMP, or the naming is just a coincidence?

It'd be great if you posted some little 'proof of concept' code on OpenCL.

My only dabblings with parallel computation were some time ago, with MPI and OpenMP.  Here ( I posted some very basic codes using OpenMP.

Ah... so many cool things to hack on, and so little time...


  • Vectorite
  • ***
  • Posts: 386
  • Have Vector Linux, Will Travel.
Re: Any linux GPU coder here ?
« Reply #3 on: March 17, 2010, 08:09:17 am »

Hi Josh,

Welcome to the forum - I about fell out of my chair when I saw your post!  Myself and several others (not on the forum) been doing some very initial testing of CUDA on Winderz - would love to try it on VL.  Not only because vector is fast and clean, but because it's lean and mean. :))

You mentioned photon mapping. Is this what you're interested in? Are you using CUDA in your work, or just for fun?

Hi Rai !

Cool that you've looked into this.  :D  Here's a little clarification on openMP and openCL that seems correct:

For things other than generic computing, GPU based systems are the wave of the future - I may be betting a business on that.

Yours, NumberCrunchingly,  ;D
- Howard
483,617th Registered Linux Snoozer