Yahoo India Web Search

Search results

  1. Feb 14, 2021 · 1answer. 386views. "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.

  2. 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.

  3. 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

  4. 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 ...

  5. 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 ...

  6. 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.

  7. Feb 25, 2014 · Maybe I should build the program using the path of the kernel and not a string containing the source, but I cannot find a way to do it using Cloo. Here's the way i build the program: program = new ComputeProgram(context, kernelSource); program.Build(devices, "-g", null, IntPtr.Zero); where kernelSource is the string containing the OpenCL source ...

  8. 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.

  9. 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.

  10. 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.