This project is read-only.

CudafyIgnore constructors

Dec 19, 2011 at 7:39 PM

Why can we not [CudafyIgnore] struct constructors? That would be most convenient...

Dec 21, 2011 at 9:57 AM

This can of course be easily added by changing Ln 113 of Attributes.cs in Cudafy.csproj to also have a Constructor target.

There is a side effect that if the ignored constructor is used in kernel code then an nvcc error will be encountered (this also applies of course to properties or other members that are ignored, so it's a moot point).

I'll add it anyway.

Dec 21, 2011 at 10:56 PM

Awesome.

How/when can I get the new version without compiling Cudafy myself? Do I have to download the .dll or can I readd Cudafy through Nuget?

Dec 22, 2011 at 9:36 AM

A new version will be available early in the new year.