opencl

Best approach for GPGPU/CUDA/OpenCL in Java?

General-purpose computing on graphics processing units (GPGPU) is a very attractive concept to harness the power of the GPU for any kind of computing. I'd love to use GPGPU for image processing, particles, and fast geometric operations. Right now, it seems the two contenders in this space are CUDA and OpenCL. I'd like to know: Is Op...

OpenCL or CUDA Which way to go?

I'm investigating ways of using GPU in order to process streaming data. I had two choices but couldn't decide which way to go? My criterias are as follows: Ease of use (good API) Community and Documentation Performance Future I'll code in C and C++ under linux. ...

What is a good project to learn OpenCL?

A friend of mine, who studies game development at an university, is currently learning programming in OpenCL. What would be a simple project that teaches the most important aspects of OpenCL and can be finished within about 50 - 100 hours? ...

Exclusive compute mode with OpenCL+NVidia

Hi, I have a question to exclusive compute mode with NVidia+OpenCL. I can set up exclusive compute mode (page 74 from cuda programming guide 3.0) with nvidia-smi on a nvidia-gpu . that means, only one program can compute on gpu. cuda runtime schedules than app automatically. but I have a problem with opencl-programs in this case: if o...

How can I compile Open CL on Mac OS X 10.6.3?

I was able to follow instructions and compiled CUDA 3.0 but cannot compile OpenCL that goes with it on Mac OS X 10.6.3? ...

How do I ensure GUI responsiveness when using OpenCL on the display GPU?

In my relatively short time learning OpenCL I frequently see my application cause the operating system UI to become significantly less responsive (several seconds for a window to respond to a drag for example). I have encountered this problem on Windows Vista and Mac OS X both with NVidia GPUs. What can I do when using OpenCL on the sa...

OpenCL support for Nvidia GTX 295

Hello, Does OpenCL support for Nvidia GTX 295 exists for Linux or is expected in the near future? TIA, -S ...

Does OpenCL allow concurrent writes to same memory address?

Is two (or more) different threads allowed to write to the same memory location in global space in OpenCL? The write is always changing a uchar from 0 to 1 so the outcome should be predictable, but I'm getting erratic results in my program, so I'm wondering if the reason can be that some of the writes fail. Could it help to declare the ...

What kind of work benifits from OpenCL

Hey All First of all: I am well aware that OpenCL does not magically make everything faster I am well aware that OpenCL has limitations So now to my question, i am used to do different scientific calculations using programming. Some of the things i work with is pretty intense in regards to the complexity and number of calculations. ...

DirectCompute versus OpenCL for GPU programming?

I have some (financial) tasks which should map well to GPU computing, but I'm not really sure if I should go with OpenCL or DirectCompute. I did some GPU computing, but it was a long time ago (3 years). I did it through OpenGL since there was not really any alternative back then. I've seen some OpenCL presentations and it looks really n...

OpenCL user defined inline functions

Is it possible to define my own functions in OpenCL code, in order that the kernels could call them? It yes, where can I see some simple example? Thanks ...

OpenCL or OpenGL – which one to use?

My Problem involves a black and white image with a black area in the middle. I never worked with OpenGL or OpenCL before so I do not know which one to chose. I want to put some white circles over the area and check at the end whether the whole image is white. I will try many combinations so I want to use the GPU because of its parallelis...

Matrix inversion in OpenCL

Hi, I am trying to accelerate some computations using OpenCL and part of the algorithm consists of inverting a matrix. Is there any open-source library or freely available code to compute lu factorization (lapack dgetrf and dgetri) of matrix or general inversion written in OpenCL or CUDA? The matrix is real and square but doesn't have a...

Can I program Nvidia's CUDA using only Python or do I have to learn C?

I guess the question speaks for itself. I'm interested in doing some serious computations but am not a programmer by trade. I can string enough python together to get done what I want. But can I write a program in python and have the GPU execute it using CUDA? Or do I have to use some mix of python and C? The examples on Klockner's ...

I want to run the examples of QtOpenCl, i.e. Qt in OpenCl. Installation and setup help?

The thing is I have to run the OpenCl examples, as given here:http://labs.trolltech.com/blogs/2010/04/07/using-opencl-with-qt/. The problem is that I have no clue where to start. I downloaded the source for QtOpenCl but it needs a valid OpenCl installation. I have Qt installed already. How do I install OpenCl? I don't have a GPU at hom...

Unable to profile OpenCL code using NVidia Visual Profiler

Hi, I have an OpenCL code which adds two arrays and prints the output. I want to profile this program using NVidia Visual Profiler that comes with CUDA Toolkit 3.0. I selected the appropriate program(.exe) to profile and the program directory. The profiler runs the code successfully but is unable to generate profiling results. It gives ...

QtOpenCl make errors. Please help.

So I downloaded the ATI Stream SDK. I don't have a gpu now so I use the '-device cpu' and got the programs/examples in the OpenCl directory working by adding the directory to LD_LIBRARY_PATH etc. Now the problem is when installing QtOpenCl. configure script gives me: skkard@skkard-desktop:~/Applications/qt-labs-opencl$ ./configure Th...

Turn off VisualAssit for *.cl, *.cu and *.cuh

How can I define, which filetypes should be work by the VisualAssit in Visual Studio 2010? I don't like, how this tool works with openCL and cuda files, therefore i would like to turn off it for thie file types (oherwise it highlights 1000 errors). thx. ...

How to utilize OpenCL 1.1 on Mac OS X 10.6?

OpenCL 1.0 came with nVidia driver for Mac OS X 10.6. I wonder if/how it is possible to update header files to utilize OpenCL 1.1 API. Greatly appreciate in advance. ...

Compile OpenCL kernels with debug information?

How can I compile opencl kernels with debug information? If i do it like hear debugging [const char* options = "-g"; clBuildProgram( *hProgram, 0, 0, options,NULL,NULL);]: i get following error: clang: Unknown command line argument '-g'. Try: 'clang --help' ...