Questions tagged [cloo]

Cloo is an open source, easy to use, managed library which enables .NET/Mono applications to take full advantage of the OpenCL framework.

Cloo is an object-oriented wrapper for OpenCL host code on the .NET and Mono platforms, written in C#. It is open source, and provides a somewhat higher-level abstraction of the OpenCL host APIs than a plain API wrapper would.

It is available at https://sourceforge.net/projects/cloo/ and licensed under an MIT license.

37 questions
0
votes
1 answer

Cloo not working in Windows 8.1 Pro

When I try to run Clootils in Windows 8.1 Pro, it crashes. Event Viewer has this error: Faulting application name: Clootils.exe, version: 0.9.1.0, time stamp: 0x4ebef909 Faulting module name: ntdll.dll, version: 6.3.9600.17278, time stamp:…
Ron Woods
  • 122
  • 1
  • 7
0
votes
1 answer

Is emulation mode available in Cloo?

Is there a way of enabling emulation mode in OpenCL trough Cloo? I can't find anything about it on web. Or maybe using CPU as ComputeContext.
0
votes
0 answers

OpenCL Cloo Null referenece exception when compiling kernel

I'm trying to compile a program to run some opencl code using Cloo. static void Main(string[] arg) { CLCalc.InitCL(); string src = File.ReadAllText("kernels.cl"); CLCalc.Program.Compile(src); } The program was previously working…
sav
  • 2,064
  • 5
  • 25
  • 45
0
votes
1 answer

Understanding behaviour of global id in OpenCL

OpenCL newbie question I'm trying to write a kernel to perform some task over rectangular regions of an image. OpenCL __kernel void GrayBlockSignalSeparation ( __global float * rhos ) { const int neighbourhoodSize = 60; const int x =…
sav
  • 2,064
  • 5
  • 25
  • 45
0
votes
1 answer

OpenCL Crashes my computer

OpenCL Newbie question :) I'm trying to write an opencl kernel like __kernel void NLLSQ ( __global double* image, __global double* nllsqResult ) { //Do some stuff } Which works fine until I try to put a loop in. ie: __kernel void…
sav
  • 2,064
  • 5
  • 25
  • 45
0
votes
1 answer

Incorrectly including cloo in C#?

I'm trying to get this demo to build but I get this error I've tried this with mono and visual studio 2010, same problem The error occurs on line program.Build(null, null, null, IntPtr.Zero); EDIT C# using System; using Cloo; using…
sav
  • 2,064
  • 5
  • 25
  • 45
0
votes
1 answer

clBuildProgram yields access violation (using Cloo)

OpenCL 1.1, using Cloo 0.9.1.0. For a certain CL module I get a crash at the following line: program.Build(null, null, null, IntPtr.Zero); Visual Studio 2010 tells me this: An unhandled exception of type 'System.AccessViolationException' …
l33t
  • 18,692
  • 16
  • 103
  • 180
1 2
3