Questions tagged [cudafy.net]

CUDAfy.NET allows easy development of high performance GPGPU applications completely from the Microsoft .NET framework. It's developed in C#.

Modern graphics cards provide the potential of massive speed increase over CPUs for non-graphics related intensive numeric operations. Many large data set operations such as matrices can see a 100x or more speed up.

CUDAfy allows .NET developers to easily create complex applications that split processing cleanly between host and GPU.

The project website: http://cudafy.codeplex.com/

71 questions
0
votes
0 answers

CUDA/OpenCL acceleration in asp.net core application

I've developed an asp.net core 1.1 application that does some pretty intensive data processing. I'd like to: GPU-accelerate the data processing (preferably opencl over cuda because my development laptop doesn't have an nvidia gpu but that's not a…
madgrizzle
  • 21
  • 6
0
votes
1 answer

Struct passed to gpu memory is undefined. How to pass struct to Cudafy?

I have a struct and a class with Execute() method and a cudafying method uses the struct. PROBLEM: Cuda says: ".../CUDAFYSOURCETEMP.cu(3): error: identifier "PointGPU" is undefined" [Cudafy] public struct PointGPU { public…
0
votes
1 answer

Make static methods and fields in class

I'm rewriting algorithm to GPU with Cudafy. I need to call Execute() from a static method. It's necessary to calculate on GPU. How could I do this? What fields or anything should I copy into static? Object of the class is called from non-static…
0
votes
1 answer

CUDAfy Instantiating classes

so I'm trying to make a complex calculation in CUDAfy so that it can reduce the current time it takes on the CPU I am trying to make use of "CUDAfy-ed" methods which I can pass variables into and it will return values very similar to the idea with…
Jack
  • 102
  • 1
  • 14
0
votes
1 answer

Return an unknown sized array in Cudafy

I have a large number of operations X to perform on a large amount of items Y. Each operation X is fairly trivial and is essentially just evaluating a bunch of AND and OR logic. Each Func(X, Y) is naturally very quick however the sheer combination…
Telavian
  • 3,752
  • 6
  • 36
  • 60
0
votes
1 answer

Is it possible to use the volatile keyword with Cudafy.NET?

I need to declare an array passed to a function as volatile, does Cudafy.NET support this? For example (in C#): [Cudafy] private static void doStuffOnGPU(GThread thread, volatile int[] output) { //do a whole bunch of stuff }
jpreed00
  • 893
  • 8
  • 25
0
votes
1 answer

Cudafy code results different when BlockSize 7 and BlockSize 8

I'm using Cudafy.NET and I have some difficulties about the BlockSize. It is generating different results in some situations. Shortly the difference is at here: //correct results when using this line gpu.Launch(1, 7, "kernelfx_alldata", 10, devdata,…
0
votes
1 answer

Cudafy Image Processing Region of Interest

I am running through some samples to get myself more familiar with cudafy for .net. Here is the code I was able to get working sucessfully. private Answer GpuTsp() { var stopWatch = Stopwatch.StartNew(); byte[] buffer = new…
User5505
  • 31
  • 3
0
votes
1 answer

Cudafy (BLAS) samples cannot be executed with

Cannot execute cudafy (BLAS) sample. Failed on line: GPGPUBLAS blas = GPGPUBLAS.Create(gpu); Message: Specified method is not supported. Stack trace: at Cudafy.Maths.BLAS.CudaBLAS..ctor(GPGPU gpu) at Cudafy.Maths.BLAS.GPGPUBLAS.Create(GPGPU…
constructor
  • 1,412
  • 1
  • 17
  • 34
0
votes
1 answer

CUDAFY emulator?

Is there an emulator for Cudafy? I have looked into Ocelot but I am not sure if Cudafy codes can be compiled on it. If anyone has any suggestions for an alternative emulator, please share.
Alchemist
  • 667
  • 1
  • 7
  • 21
0
votes
1 answer

Cudafy chapter 3 example has path issue how to fix?

Using Cudafy version 1.29, which can be downloaded from here I am executing the examples that are found in the install folder CudafyV1.29\CudafyByExample\ Specifically, "chapter 3" example that begins line 42 of program.cs calls the…
sapbucket
  • 6,795
  • 15
  • 57
  • 94
0
votes
2 answers

Does anyone had ever successfully utilized CUDAfy in VB.NET?

I´m trying to utilize CUDAFy 1.29 in VB.NET using VS2013. I´m trying to translate the samples of C# from CUDAFy and I´m having two type of errors, like explained below: My Variables Shared cs_CC As String = "adiciona" Shared MyGPU As GPGPU =…
David BS
  • 1,822
  • 1
  • 19
  • 35
0
votes
1 answer

Can't run CUDAfy.NET application on target device

I've got an existing WinForms application on .NET 4.0 CP framework and I want it to do computations on CUDA devices. For this I decided to use CUDAfy.NET wrapper around C/C++ Toolkit, because it is (as far as I know) the only one up-to-date with…
SysGen
  • 604
  • 7
  • 29
0
votes
1 answer

Using an algorithm in Cudafy doesn't work when it works on CPU?

I have a working algorithm to perform a 2D perspective transform on an image. The Algorithm is a follows: private Bitmap RescaleImage(double TopLX, double TopLY, double TopRX, double TopRY, double LowLX, double LowLY, double LowRX, double LowRY, int…
Sam
  • 350
  • 2
  • 9
0
votes
1 answer

Cudafy.NET - CUDA.NET exception ErrorInvalidValue

I am using Cudafy.NET to perform image processing on the GPU. I have set up my class along with the first function (PerformBarrelCorrection running on the CPU) to set up the multiple threads to perform the logic calculation for each pixel in the…
Sam
  • 350
  • 2
  • 9