Dec 9, 2012 at 8:44 AM


when i try to cudafy my class get this error message "Array create expressions are not supported."

my cudafy code is :

CudafyModule km = CudafyModule.TryDeserialize(typeof(mapexe1


km =CudafyTranslator.Cudafy(ePlatform.All, eArchitecture.sm_11, new Version(0, 5), true, typeof(mapexe1


and mapexe1 is :

class mapexe1{




static void mapexe(GThread blocks,byte [,] bytar,double [,]map,int bit)





Dec 13, 2012 at 7:04 AM

Take your example back to the simplest level where the error still occurs.  Use for example the default Cudafy method- Cudafy(typeof(mapexe1))

You omitted the code from your kernel - are you sure you are  not instantiating an array in there?  Not allowed if you are...

Try to make good use of the tutorials, unit tests and example projects that are available.

Dec 14, 2012 at 6:24 AM

Thank you for your help , my problem was resolved