Under win32 usual function doWarning does not link, so we create fake class with _GpuCalcExport directive.