CUDA wrapper

Michael Karcher wine at mkarcher.dialup.fu-berlin.de
Tue Jul 15 00:32:40 CDT 2008


Am Montag, den 14.07.2008, 23:18 -0500 schrieb Stefan Dösinger:
> WINEDEBUG=+trace doesn't really do anything. using WINEDEBUG=trace+all
> (or just +all) will enable *lots* of debug output.
Right.

> However, what you want to do is to add something like this to your
> cuda wrapper:
> At the beginning of the file, after the includes:
> WINE_DEFAULT_DEBUG_CHANNEL(cuda);
> Then in each function:
> 
> void cudaSomething(int a, const char *b) {
>                 TRACE("(%d, %s)\n", a, b);
> }
This would be the long-term goal, probably, but WINEDEBUG=+relay should
automatically generate thunks in memory that do this printing (but not
only for cuda, of course, except if configured appropriately). In the
short term, this should yield a hint where to start searching more
quickly.

Regards,
  Michael Karcher




More information about the wine-devel mailing list