16 Comments

User's avatar
Aske BV's avatar

I'll be taking the challenge in my own tempo, and expect to finish it way after everyone else. But first of all I'm intrigued by the initialized pmc_name_array type. Looks like something that will require a metaprogram translating it to a type in a generated file:

typedef wchar_t * pmc_name_generated12247;

And then in the translated version of the cpp file, pmc_name_array is replaced with

pmc_name_generated12247 AMDNameArray[CountInTheInitialization]

where CountInTheInitialization is the preprocessor counting the number of values in the initialization and inserting it

but that sounds like a very internal API, so I'm wondering if I'm missing something obvious

Expand full comment
Jo's avatar

This has been really fun! What do I do if I think I solved it?

Expand full comment
14 more comments...

No posts