Is it possible to define a macro with in a macro ? Any trick will do.
I am trying to do quick conversion of cuda program to open mp by defining some macros at the top:
ThanksCode:#define __syncthreads() #pragma omp barrier
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 3 of 3
Thread: macro with in a macroThreaded View
|
Click Here to Expand Forum to Full Width |