problem about cuda.net-Collection of common programming errors
Adam
c# cuda marshalling cuda.net cudafy.net
Using VS 2012, .NET 4.5, 64bit and CUDAfy 1.12 and I have the following proof of conceptusing System; using System.Runtime.InteropServices; using Cudafy; using Cudafy.Host; using Cudafy.Translator;namespace Test { [Cudafy(eCudafyType.Struct)] [StructLayout(LayoutKind.Sequential)] public struct ChildStruct {[MarshalAs(UnmanagedType.LPArray)]public float[] FArray;public long FArrayLength; }[Cudafy(eCudafyType.Struct)] [StructLayout(LayoutKind.Sequential)] public struct ParentStruct {public ChildSt
Custódio
cuda cuda.net
I’m writing an article about CUDA and their wrappers and right now I’m stuck with what layer of CUDA is used by CUDA.NET or JCUDA.As this suggests:I guess as my program suggests when i use CUBLAS cublas = new CUBLAS(cuda); that I’m using a Library or a library on CUDA Runtime.I’m right, or what is the best definition? And wrapper is the best definition to CUDA.NET or brigde or something.
Morten Christiansen
c# c++ cuda gpgpu cuda.net
When writing CUDA applications, you can either work at the driver level or at the runtime level as illustrated on this image (The libraries are CUFFT and CUBLAS for advanced math):I assume the tradeoff between the two are increased performance for the low-evel API but at the cost of increased complexity of code. What are the concrete differences and are there any significant things which you cannot do with the high-level API?I am using CUDA.net for interop with C# and it is built as a copy of th
Web site is in building