Search results
Feb 14, 2021 · 387views. "Zero copy" is slower in my OpenCL/Cloo(C#) program than non-zero copy. This may simply be an issue with the memory objects being allocated by the .NET framework not being properly page-aligned, but I cannot see why zero-copy is slower for me than non-zero copy.
I've run into a variety of implementations, CUDA.NET, OpenCL.NET, OpenTK / Cloo (I know, they are mentioned often of stackoverflow), but they all seem to either be in alpha stage or have absolutely no available examples. CUDA.NET has some help files, but it's just a library reference, which doesn't really help you get started.
Apr 2, 2012 · I am trying to get a simple Cloo program to run but it is not working, can anyone tell me why? using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using
Apr 11, 2015 · I'm trying to get started with OpenCL but came across weird behavior of the OpenCL compiler with respect to white-space and can't seem to find any documentation about that.
Feb 8, 2013 · 3. I just tried to profile Clootils.exe (the sample that comes with the Cloo distro) with CodeXL, and after some trial and error, I was able to get CodeXL to work. I had to first rebuild both Cloo.dll and ClooUtils.exe with the Platform target set to x86. Using the default setting of "Any CPU" gave me a "The application was unable to start ...
Apr 3, 2018 · Modified 6 years, 3 months ago. Viewed 170 times. 2. I'm trying to find a tutorial for learn Cloo or OpenCL.Net, But I didn't find anything decent.
Aug 15, 2013 · using System; using Cloo; using System.Collections.Concurrent; using System.Threading.Tasks; using System.IO; namespace ClooTest { class MainClass { public static void Main (string[] args) { // pick first platform ComputePlatform platform = ComputePlatform.Platforms[0]; // create context with all gpu devices ComputeContext context = new ComputeContext(ComputeDeviceTypes.Gpu, new ComputeContextPropertyList(platform), null, IntPtr.Zero); // create a command queue with first gpu found ...
Feb 16, 2017 · I'm experimenting with OpenCL (through Cloo's C# interface). To do so, I'm experimenting with the customary matrix-multiplication-on-the-GPU. The problem is, during my speed tests, the application crashes. I'm trying to be efficient regarding the the re-allocation of various OpenCL objects, and I'm wondering if I'm botching something in doing so.
Apr 2, 2012 · ComputeContext context = new ComputeContext(ComputeDeviceTypes.All, Properties, null, IntPtr.Zero); ComputeProgram program = new ComputeProgram(context, kernel); program.Build(null, null, null, IntPtr.Zero); I checked that my hardware supports double precision and it does. However, using the cl_amd_printf extension works.
Jul 21, 2017 · The kernel code looks fine but I have been at this for a couple of nights now and can't seem to figure out what is going on. As you can probably tell I am very new to Cloo, I have gotten a few ideas from examples online but I am probably doing something wrong at a very simple level. Any suggestions would be great.