Activity for Cloo

  • Mykola Bondarenko Mykola Bondarenko modified a comment on discussion Help

    string buildLog = program.GetBuildLog(_device); Console.WriteLine($"Build log:\n{buildLog}");

  • Mykola Bondarenko Mykola Bondarenko posted a comment on discussion Help

    string buildLog = program.GetBuildLog(device); Console.WriteLine($"Build log:\n{buildLog}");

  • ExtSol ExtSol modified a comment on discussion Open Discussion

  • ExtSol ExtSol modified a comment on discussion Open Discussion

    Hy there, I found an exaple to use Cloo here: link When i modify a little bit a source, try to get the result but the dst array not writed. class Program { static string clSource = @" kernel void function(global int* src, global int* dst, int size) { for (int i = 0; i < size; i++) { dst[i] = src[i]; //printf(""src: %d\n"",src[i]); //printf(""dst: %d\n"",dst[i]); } } "; static void Main(string[] args) { // pick first platform ComputePlatform platform = ComputePlatform.Platforms[0]; // create context...

  • ExtSol ExtSol posted a comment on discussion Open Discussion

    Hy there, I found an exaple to use Cloo here: link When i modify a little bit a source, try to get the result but the dst array not writed. class Program { static string clSource = @" kernel void function(global int* src, global int* dst, int size) { for (int i = 0; i < size; i++) { dst[i] = src[i]; //printf(""src: %d\n"",src[i]); //printf(""dst: %d\n"",dst[i]); } } "; static void Main(string[] args) { // pick first platform ComputePlatform platform = ComputePlatform.Platforms[0]; // create context...

  • Simon Thalén Simon Thalén posted a comment on discussion Help

    I have the same problem. However, the fix above does not work for me. Where specifically do I put Cloo.dll.config? Has anything about this problem changed? The directory and files exist at /System/Library/Frameworks/OpenCL.framework/OpenCL

  • Peter Parker Peter Parker posted a comment on discussion Help

    Hi, I have a c# sharp project which I didnt code myself and runs without error on my colleague's computer. When I execute the program I get this error: OpenCL error code detected: BuildProgramFailure. In the line program.Build(null, null, null, IntPtr.Zero); private void CreateKernels() { string resourcePrefix = "TextureMapping.HardwareAcceleration.OpenCL.Kernels."; string kernelContent = EmbeddedResourceLoader.LoadResource(resourcePrefix + "Projection.cl"); _context = new ComputeContext(_device.Type,...

  • Jon Rurka Jon Rurka posted a comment on discussion Help

    Every ComputeEventBase entry in ComputeEventList needs to be disposed, however the Clear method does not do this. If you use ComputeEventList, replace the body of ComputeEventList.Clear() with this and make sure to call Clear() when cleaning up: for (int i = 0; i < events.Count; i++) { if (events[i] != null) events[i].Dispose(); } events.Clear();

  • Tim Floyd Tim Floyd posted a comment on discussion Help

    In the readMe file it says: "The library needs no installation or changes to your system. Just be sure that its files are "visible" to the application." How can I make the files visible to my project in visual studio?

  • Ron Ron posted a comment on ticket #20

    The installation of Intel OpenCL on my laptop must have been corrupted, because when...

  • Ron Ron created ticket #20

    Clootils won't run in Windows 8.1 Pro

  • Pablitinho Pablitinho created ticket #19

    Opencl with Intel so slow

1