This project is read-only.

Cudafy speed vs c++

Nov 19, 2013 at 2:01 AM

Does anyone have information in this topic, is cudafy slower? I was reading about c+/c# interop but I didnt really get it. It was mentioned though that c# version is much slower.

Nov 19, 2013 at 8:19 PM
No noticeable impact on performance between CUDAfy and CUDA. Interop can only be much slower for very short operations where the minimum overhead can have an impact, or where specific marshaling of .NET to native types is required. None of this is an issue for CUDAfy since we generally deal with large amounts of primitive data types.