예제 #1
0
 static string TranslateToPrintF(MemberReferenceExpression mre, object data)
 {
     if (ComputeCapability < new Version(2, 0) && CudafyTranslator.Language == eLanguage.Cuda)
         return CommentMeOut(mre, data);
     if (CudafyTranslator.Language == eLanguage.Cuda)
         UseOptionalHeader(csSTDIO);
     string dbugwrite = string.Empty;
     dbugwrite = mre.TranslateToPrintF(data);
     return dbugwrite;
 }