Questions tagged [managed-cuda]

managedCuda is a framework allowing usage of CUDA in a managed application (e.g. C#)

http://kunzmi.github.io/managedCuda/

managedCuda allows usage of CUDA GPU computing capabilities from within a managed (.net) framework. managedCuda includes interfaces to the CUDA runtime API as well as various CUDA libraries

19 questions
0
votes
1 answer

CUDA compile multiple .cu files to one file

I am porting some calculation from C# to CUDA. There many classes in C# which I want to port, for each c# class I create .cu and .cuh file in my CUDA project. All classes related, and all they used in calculations. I need to save structure of my C#…
GDocal
  • 305
  • 4
  • 10
0
votes
1 answer

Copy a static array to host in managedCUDA

I've declared a static array in kernel.cu file __device__ int myStaticArray[5]; I can modify this array from host using myKernel.SetConstantVariable("myStaticArray", new int[]{1,2,3,4,5}); After a few processing, I want to copy this array to host,…
koonyook
  • 159
  • 1
  • 8
0
votes
1 answer

Using CuRand in ManagedCuda

I'm currently working with ManagedCuda, and want to generate random numbers on the device. However I can't seem to find a simple example how to do this (browsing through objects in the ManagedCuda.CudaRand namespace and comparing with the C++…
MarijnS95
  • 4,703
  • 3
  • 23
  • 47
0
votes
3 answers

1D FFT plus kernel calculation with managedCUDA

I am trying to make FFT plus kernel calculation. FFT : managedCUDA library kernel calc : own kernel C# code public void cuFFTreconstruct() { CudaContext ctx = new CudaContext(0); CudaKernel cuKernel =…
test
  • 9
  • 3
1
2