Questions tagged [opencl.net]

25 questions
45
votes
7 answers

Complete .NET OpenCL Implementations

I've been looking all over but have had little luck. Are there any well documented .NET binding implementations for OpenCL? (I'd take something for CUDA if I had to). I've run into a variety of implementations, CUDA.NET, OpenCL.NET, OpenTK / Cloo…
Adam Haile
  • 30,705
  • 58
  • 191
  • 286
11
votes
4 answers

OpenCL and GPU programming Roadmap

i would like to start stating that i know nothing of OpenCL/GPU programming but i am a advanced C# (general .Net) programmer without fear of C++ and i would like to learn OpenCL/GPU programming... my question is... where do i start?!? what should i…
Leonardo
  • 10,737
  • 10
  • 62
  • 155
6
votes
1 answer

Asynchronous API

Given that OpenCL is meant to be an API for heterogeneous programming, it by almost definition has a huge latency penalty associated with it. Therefore there MUST be an asynchronous API for it. I am however finding it difficult to find the…
Aron
  • 15,464
  • 3
  • 31
  • 64
4
votes
2 answers

GPGPU Programming in .Net - Microsoft Accelerator VS OpenCL.net [VS Others]

I am developing a program (in .Net) that has a lot of image processing (like 2D Convolutions, ...) and I want to do them with GPGPU (parallel processing) So, I have some choices: Microsoft Accelerator, OpenCL.Net, ... Which one is better for…
Mahdi Ghiasi
  • 14,873
  • 19
  • 71
  • 119
3
votes
1 answer

Image processing with OpenCL.NET

I'm trying to do image processing on the GPU with .NET. I've downloaded OpenCL.NET wrapper. It has some good samples, but I cannot find a way to load an image to the GPU and read the processed image back. What do I have to do?
Ilya Suzdalnitski
  • 52,598
  • 51
  • 134
  • 168
2
votes
1 answer

Debugging OpenCL on CPU

I'm trying to debug OpenCL kernels on CPU target, following this guide without success. The kernel builds, app runs, but the breakpoints are not hit. There is a statement "The Debugger requires setting the global ID of the work-item to debug before…
Miro Krsjak
  • 355
  • 1
  • 16
2
votes
2 answers

Values Change Randomly When Chaining Together Kernels

I'm pretty new to the whole OpenCL world, and I have created two pretty simple Kernels and I am trying to chain them togehter, but I am getting rather spurious results. When ran individually, they work as expected, but when slapped together, that is…
David Watts
  • 2,249
  • 22
  • 33
2
votes
2 answers

OpenCl equivalent of finding Consecutive indices in CUDA

In CUDA to cover multiple blocks, and thus incerase the range of indices for arrays we do some thing like this: Host side Code: dim3 dimgrid(9,1)// total 9 blocks will be launched dim3 dimBlock(16,1)// each block is having 16 threads //…
gpuguy
  • 4,607
  • 17
  • 67
  • 125
1
vote
1 answer

openTK vs openCL.NET

I am getting started with openCL on .NET. How is openTK compared to openCL.NET - which is better?
r00kie
  • 843
  • 1
  • 11
  • 12
1
vote
0 answers

How to pass a matrix to Image2D in OpenCLTemplate?

I'm trying to implement a parallel Gauss-Seidel algorithm. Here is my kernel function #define dx (float2)(1,0) #define dy (float2)(0,1) __kernel void rbgs(read_only image2d_t fh, read_only image2d_t vh, global float *vvh, __global float* hx,…
1
vote
2 answers

OpenCL "read_image" Returns a Blank Pixel

Description of Issue and Examples I am working with OpenCL and I am trying to get an image resize working. I've gone through a few tutorials and I've pretty much ended on trying to write my own kernel for this. My issue is I cannot get OpenCL to…
Dandruff
  • 21
  • 4
1
vote
2 answers

Custom OpenCL Platform/Device

I am quite new to opencl and would like to do a bit of experimenting. Specifically, I want to know if anyone can point me in the right direction to create a custom platform or device with an opencl interface attached. How this is to be used is to…
1
vote
2 answers

OpenCL version of cudaMemcpyToSymbol & optimization

Can someone tell me OpenCl version of cudaMemcpyToSymbol for copying __constant to device and getting back to host? Or usual clenquewritebuffer(...) will do the job ? Could not find much help in forum. Actually a few lines of demo will suffice. …
gpuguy
  • 4,607
  • 17
  • 67
  • 125
1
vote
2 answers

Using local workers in OpenCL for large matrix computation

I'm a newbie to using OpenCL (with the OpenCL.NET library) with Visual Studio C#, and am currently working on an application that computes a large 3D matrix. At each pixel in the matrix, 192 unique values are computed and then summed to yield the…
superwillis
  • 139
  • 1
  • 2
  • 12
1
vote
1 answer

clGetDeviceIDs fails in OpenCL with error code -30

The output of the following program on my machine with ATI Firepro V8750 is as follows: "Couldn't find any devices:No error" (this happens at the call of first clGetDeviceIDs). the error code returned is -30. What does that mean? I am not able to…
gpuguy
  • 4,607
  • 17
  • 67
  • 125
1
2